Skip to content

Instantly share code, notes, and snippets.

@erikvold
Created March 13, 2010 08:02
Show Gist options
  • Save erikvold/331197 to your computer and use it in GitHub Desktop.
Save erikvold/331197 to your computer and use it in GitHub Desktop.
This userscript will remove the social tools from articles at the Wall Street Journal.
// ==UserScript==
// @name Wall Street Journal Remove Social Tools From Articles
// @namespace wsjRemoveSocialToolsFromArticles
// @include http://*.wsj.com/article/*
// @include http://wsj.com/article/*
// @include https://*.wsj.com/article/*
// @include https://wsj.com/article/*
// @match http://*.wsj.com/article/*
// @match http://wsj.com/article/*
// @match https://*.wsj.com/article/*
// @match https://wsj.com/article/*
// @datecreated 2010-03-12
// @lastupdated 2010-03-12
// @version 0.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 social tools from articles at the Wall Street Journal.
// ==/UserScript==
(function(d){
var tools = d.getElementById('ambt.at.containers');
if(tools){
tools.parentNode.removeChild(tools);
}
tools = d.getElementById('abt.at.container');
if(tools){
tools.parentNode.removeChild(tools);
}
})(document);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment