Skip to content

Instantly share code, notes, and snippets.

@ayltai
Created January 27, 2020 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayltai/0a734aa9d4651bef37ce4e2521123adc to your computer and use it in GitHub Desktop.
Save ayltai/0a734aa9d4651bef37ce4e2521123adc to your computer and use it in GitHub Desktop.
Forbes Anti AdBlocker
// ==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