Skip to content

Instantly share code, notes, and snippets.

@johnbintz
Created February 1, 2012 11:27
Show Gist options
  • Save johnbintz/1716640 to your computer and use it in GitHub Desktop.
Save johnbintz/1716640 to your computer and use it in GitHub Desktop.
Get rid of that stupid-ass Rapport ad that doesn't obey "Maybe Later" like it should.
// ==UserScript==
// This fixes the most annoying thing I've ever seen on the ING DIRECT website. Sorry, ING DIRECT folks.
// @match https://secure.ingdirect.com/*
// ==/UserScript==
var waiter;
waiter = function() {
if (mask = document.getElementById('adWizardPopup_mask')) {
mask.parentNode.removeChild(mask);
ad = document.getElementById('adWizardPopup_c');
ad.parentNode.removeChild(ad);
} else {
setTimeout(waiter, 1000);
}
};
waiter();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment