Skip to content

Instantly share code, notes, and snippets.

@nkmrgk
Created March 16, 2012 05:52
Show Gist options
  • Save nkmrgk/2048716 to your computer and use it in GitHub Desktop.
Save nkmrgk/2048716 to your computer and use it in GitHub Desktop.
Simple Reach Killer
// ==UserScript==
// @name Simple Reach Killer
// @namespace http://nkmrgk.tumblr.com/
// @include *
// ==/UserScript==
function removeTags () {
var ng = /simplereach/;
var tag, tags = document.getElementsByTagName('div');
var i = tags.length;
while (i--) {
tag = tags[i];
if (ng.test(tag.id)) {
tag.parentNode.removeChild(tag);
}
}
}
removeTags();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment