Annoyed with Adblock warnings ?

Screen Shot 2016-07-21 at 17.17.41

I’m retaliating against the growing number of sites that complain when you use Adblock.

I’ve just spent a while getting my head around greasemonkey which lets you add javascript to sites in Firefox.

The Bournemouth Echo is relatively lenient, in that you just get an annoying overlay that takes up the bottom of the window. This script does the trick, and I will have to add to it as more annoyances come to light !

Now to  find the equivalent Safari add-on and I’ll be happy 🙂

// ==UserScript==
// @name ad pane hider
// @namespace hwhap
// @description hide echo adblock pane
// @include http*://www.bournemouthecho.co.uk/*
// @version 1
// @grant none

// ==/UserScript==
console.log("simon");


 var x = document.getElementsByClassName("ad-blocker-warning");
 var i;
 for (i = 0; i < x.length; i++) {
 x[i].style.display = "none";}
facebooktwitterlinkedinrssfacebooktwitterlinkedinrss

Leave a Reply

Your email address will not be published. Required fields are marked *