Created
June 11, 2018 21:36
-
-
Save depau/a895cd7d2e91fbde7bdcde84fbd471fe to your computer and use it in GitHub Desktop.
LezPop AdBlock Block
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== | |
// @id LezPopMerda | |
// @name LezPop AdBlock Block | |
// @namespace https://lezpopkek.com | |
// @version 0.1 | |
// @author Stocazzo <[email protected]> | |
// @description LezPop AdBlock Block | |
// @domain lezpop.it | |
// @match http://*.lezpop.it/* | |
// @match https://*.lezpop.it/* | |
// @grant GM.getValue | |
// @grant GM.setValue | |
// @updateVersion 1 | |
// @priority 9001 | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.2/jquery.min.js | |
// ==/UserScript== | |
window.lezpopMerda = function (ttl) { | |
jQuery("#tie-popup-adblock").remove(); | |
jQuery("#tie-wrapper").css({"filter": "initial"}); | |
jQuery("html").css({"overflow": "initial"}); | |
if (ttl > 0) { | |
setTimeout(function() {lezpopMerda(ttl-1);}, 200); | |
} | |
}; | |
(function () { | |
$(document).ready(function () { | |
setTimeout(function() {lezpopMerda(20);}, 200); | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment