View difference between Paste ID: BRQYFa2T and w4JrLuJL
SHOW: | | - or go back to the newest paste.
1
// ==UserScript==
2
// @name           boingboingRemoveAntiAdblock
3
// @version        1
4
// @grant          none
5
// @description    Remove anti-adblock from BoingBoing
6
// @include        https://boingboing.net/*
7
// ==/UserScript==
8
function boingboingRemoveAntiAdblock() {
9
    var style = document.createElementNS("http://www.w3.org/1999/xhtml", "style");
10
    style.appendChild(document.createTextNode("body { overflow: auto ! important }\n"));
11
    style.appendChild(document.createTextNode(".fc-ab-root { display: none ! important }\n"));
12
    document.getElementsByTagName("head")[0].appendChild(style);
13
}
14
boingboingRemoveAntiAdblock();