Skip to content

Instantly share code, notes, and snippets.

@brendanmaguire
Created February 13, 2017 15:13
Show Gist options
  • Save brendanmaguire/c02fb93a0439deea488826fae02e3eb0 to your computer and use it in GitHub Desktop.
Save brendanmaguire/c02fb93a0439deea488826fae02e3eb0 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name wanderbat - remove ad block overlay
// @version 0.1
// @description Remove ad block overlay annoyance from wanderbat site
// @author maguire.brendan@gmail.com
// @match http://airlines.wanderbat.com/
// @grant none
// @require http://code.jquery.com/jquery-1.12.4.min.js
// ==/UserScript==
(function() {
'use strict';
function removeCrap() {
$('div.BOX-wrap').remove();
$('body').removeClass('BOX-open');
setTimeout(reomveCrap, 500);
}
setTimeout(removeCrap, 500);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment