Skip to content

Instantly share code, notes, and snippets.

@depau
Created June 11, 2018 21:36
Show Gist options
  • Save depau/a895cd7d2e91fbde7bdcde84fbd471fe to your computer and use it in GitHub Desktop.
Save depau/a895cd7d2e91fbde7bdcde84fbd471fe to your computer and use it in GitHub Desktop.
LezPop AdBlock Block
// ==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