Created
January 26, 2016 16:29
-
-
Save OmegaExtern/d5a1d3b4d7830711b84f to your computer and use it in GitHub Desktop.
Tampermonkey userscripts :)
This file contains hidden or 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 Anti-Anti-AdBlock for plebleaks.com | |
// @namespace http://plebleaks.com/ | |
// @version 0.1 | |
// @description Anti-Anti-AdBlock for plebleaks.com | |
// @author OmegaExtern | |
// @match http://plebleaks.com/* | |
// @grant none | |
// ==/UserScript== | |
var div_elements = document.getElementsByTagName('div'); | |
for (var i = 0; i < div_elements.length; ++i) { | |
var div_element = div_elements[i]; | |
if (/confirmOverlay_.+/i.test(div_element.getAttribute('id'))) { | |
div_element.outerHTML = ''; | |
delete div_element; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment