Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×
User Journal

Journal bperkins's Journal: screw tags

I hate tags.

Now the preference that shuts off tags doesn't seem to work anymore.

Fortunately, Greasemonkey can help:

// ==UserScript==
// @name           nuke tags
// @namespace      bperkins
// @description    Get rid of stupid slashdot tags
// @include        http://slashdot.org/*
// ==/UserScript==

var re=new RegExp("tag", "gi");

var divs = document.getElementsByTagName('div');
for (var i = 0; i < divs.length; i++) {
    var div = divs[i];

    if (div.className == 'tag-widget body-widget'  ) {
    div.style.display = "none";
   }

}

This discussion has been archived. No new comments can be posted.

screw tags

Comments Filter:

"There is no distinctly American criminal class except Congress." -- Mark Twain

Working...