Skip to content

Instantly share code, notes, and snippets.

@forcequitOS
Last active April 18, 2025 00:42
Show Gist options
  • Save forcequitOS/a6bfd2114508e267c2cf48a420a4fcc3 to your computer and use it in GitHub Desktop.
Save forcequitOS/a6bfd2114508e267c2cf48a420a4fcc3 to your computer and use it in GitHub Desktop.
Remove the cursor-chasing cat oneko on basically any site. Userscripts / Tampermonkey compatible.
// ==UserScript==
// @name deleteDatCat
// @description Removes the cursor chasing cat oneko from basically any website.
// @match *://*/*
// ==/UserScript==
(() => {
const deleteDatCat = () => document.getElementById('oneko')?.remove();
deleteDatCat();
new MutationObserver(nuke).observe(document.body, { childList: true, subtree: true });
document.addEventListener('visibilitychange', () => document.visibilityState === 'visible' && deleteDatCat());
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment