Last active
April 18, 2025 00:42
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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