Forked from anka-213/blockadblockblocker.user.js
Created
November 20, 2021 02:03
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