Skip to content

Instantly share code, notes, and snippets.

@MinoMino
Last active October 6, 2020 17:58
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MinoMino/2ea9def7e6286189615088a1b15ab721 to your computer and use it in GitHub Desktop.
Save MinoMino/2ea9def7e6286189615088a1b15ab721 to your computer and use it in GitHub Desktop.
Fixes the shady cancer Hiroshimoot added to 4chan on 18/12/2017.
// ==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);
@wallace-aph
Copy link

Thanks a ton.

@MrFreshers
Copy link

Lost on how fast this thread was deleted

@Toasty-Coasty
Copy link

thanks fella

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment