Last active
November 20, 2021 02:03
-
-
Save anka-213/27fbe87280a6e6057163c0c4b2f7c294 to your computer and use it in GitHub Desktop.
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 BlockBlockAdBlock | |
// @namespace http://github.com/anka-213 | |
// @version 0.1.1 | |
// @description Block the BlockAdBlock script | |
// @author Andreas Källberg | |
// @match http://blockadblock.com/* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== | |
/* jshint -W097 */ | |
(function() { | |
'use strict'; | |
var originalEval = window.eval; | |
window.eval = function(x){ | |
if (x.match("blockadblock")||x.match("kcolbdakcolb")) { | |
console.error("Blocked blockadblock: ", x); | |
} else { | |
console.log("Allowed eval: ", x); | |
return originalEval(x); | |
} | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Googled it just because I though: Someone must have named something like that. Was not disappointed.