Last active
October 6, 2020 17:58
-
-
Save MinoMino/2ea9def7e6286189615088a1b15ab721 to your computer and use it in GitHub Desktop.
Fixes the shady cancer Hiroshimoot added to 4chan on 18/12/2017.
This file contains 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 4chan Anti-cancer | |
// @namespace http://4chan.org/ | |
// @version 0.1 | |
// @description Fixes the shady cancer Hiroshimoot added to 4chan on 18/12/2017. | |
// @include *://*.4chan.org/* | |
// @run-at document-start | |
// ==/UserScript== | |
var match = '(function(){var f="to",n="U",u="pper",r="C",t="ase",o="substr"'; | |
window.addEventListener('beforescriptexecute', function(e) { | |
if(e.target.textContent.startsWith(match)){ | |
e.stopPropagation(); | |
e.preventDefault(); | |
console.log("Cancer averted."); | |
} | |
}, true); |
Lost on how fast this thread was deleted
thanks fella
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks a ton.