Created
November 24, 2016 19:06
-
-
Save snapcase/8cc939302a1cc4b4ebacf46a29771d96 to your computer and use it in GitHub Desktop.
politiken.user.js
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 get rekt | |
// @namespace animetiddi.es | |
// @description wat | |
// @include http://politiken.dk/* | |
// @version 1 | |
// @run-at document-end | |
// @grant none | |
// ==/UserScript== | |
var fug = setInterval(function() { | |
if ($('.modal--adblockblocker').length) { | |
var elm = $('.modal--adblockblocker').parents().get()[1]; | |
$(elm).hide(); | |
$('body').removeClass('dit-modal-open'); | |
console.log('removed shit'); | |
clearInterval(fug); | |
} | |
}, 100); | |
setTimeout(function() { clearInterval(fug); }, 5000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment