Created
March 13, 2010 04:49
-
-
Save erikvold/331120 to your computer and use it in GitHub Desktop.
This userscript will remove the header of the Wall Street Journal.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Wall Street Journal Remove Header | |
// @namespace wsjRemoveHeader | |
// @include http://online.wsj.com/* | |
// @include https://online.wsj.com/* | |
// @match http://online.wsj.com/* | |
// @match https://online.wsj.com/* | |
// @datecreated 2010-03-12 | |
// @lastupdated 2010-03-15 | |
// @version 0.1.1 | |
// @author Erik Vergobbi Vold | |
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html | |
// @description This userscript will remove the header of the Wall Street Journal. | |
// ==/UserScript== | |
(function(d){ | |
var hat = d.getElementById('hat_div'), | |
head = d.getElementsByClassName('header')[0]; | |
if(hat) hat.parentNode.removeChild(hat); | |
if(head) head.parentNode.removeChild(head); | |
})(document); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment