Skip to content

Instantly share code, notes, and snippets.

@meisekimiu
Created September 26, 2017 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meisekimiu/fec7e0a318031c8911a5471da9e88d3a to your computer and use it in GitHub Desktop.
Save meisekimiu/fec7e0a318031c8911a5471da9e88d3a to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name block adblock block
// @namespace http://localhost
// @include https://[DOMAINS HERE]*
// @version 1
// @grant none
// @run-at document-start
// ==/UserScript==
window.eval_safe = window.eval
window.eval = function(a) {
if(!(a.toString().includes("blockadblock.com"))) {
window.eval_safe(a)
}
else {
console.log("ha ha")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment