Skip to content

Instantly share code, notes, and snippets.

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 leonirlopes/ded601900b4f6b1585f6ada08d5e496a to your computer and use it in GitHub Desktop.
Save leonirlopes/ded601900b4f6b1585f6ada08d5e496a 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);
}
};
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment