Created
January 27, 2020 09:44
-
-
Save ayltai/0a734aa9d4651bef37ce4e2521123adc to your computer and use it in GitHub Desktop.
Forbes Anti AdBlocker
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 Forbes | |
// @namespace https://www.forbes.com/ | |
// @description Remove anti ad-blockers on Forbes websites | |
// @version 1 | |
// @include https://www.forbes.com/* | |
// @grant none | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js | |
// ==/UserScript== | |
function unblock() { | |
$('.page-loaded').remove(); | |
$('#article-container-0').css('position', 'inherit'); | |
} | |
$(function() { | |
unblock(); | |
setTimeout(unblock, 1500); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment