DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Hide Visited Link Bookmarklet

12.02.2005
| 6062 views |
  • submit to reddit
        For IE
javascript:document.createStyleSheet().addRule("a:visited","display:none");void(0);

For Firefox/Opera
javascript:(function(){var css=document.createElement("link");with(css){setAttribute("rel","stylesheet");setAttribute("type","text/css");setAttribute("href","data:text/css,"+encodeURIComponent("a:visited{display:none}"))}document.getElementsByTagName("HEAD")[0].appendChild(css)})();