Created
August 3, 2013 11:22
-
-
Save ArthurHoaro/6146137 to your computer and use it in GitHub Desktop.
GreaseMonkey: Remove anti-adblock called by setTimeout()
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 RemoveAntiAdblock | |
// @namespace raa | |
// @include http://www.WEBSITE.TLD/* | |
// @version 1 | |
// ==/UserScript== | |
// Thanks to http://stackoverflow.com/a/8345837 | |
// Set a fake timeout to get the highest timeout id | |
var highestTimeoutId = setTimeout(";"); | |
for (var i = 0 ; i < highestTimeoutId ; i++) { | |
clearTimeout(i); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment