Skip to content

Instantly share code, notes, and snippets.

@anka-213
Last active November 20, 2021 02:03
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anka-213/27fbe87280a6e6057163c0c4b2f7c294 to your computer and use it in GitHub Desktop.
Save anka-213/27fbe87280a6e6057163c0c4b2f7c294 to your computer and use it in GitHub Desktop.
// ==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);
}
};
})();
@rcheetah
Copy link

Googled it just because I though: Someone must have named something like that. Was not disappointed.

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