Skip to content

Instantly share code, notes, and snippets.

@higeorange
Created October 14, 2010 19:07
Show Gist options
  • Save higeorange/626818 to your computer and use it in GitHub Desktop.
Save higeorange/626818 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @include http://www.delicious.com/network/*
// ==/UserScript==
(function() {
var style = document.createElement("style");
document.getElementsByTagName("head")[0].appendChild(style);
var sheet = style.sheet;
sheet.insertRule("li.post a:visited { font-weight: 800 }", sheet.cssRules.length);
var posts = document.querySelectorAll("li.post");
for(var i = posts.length; i;) {
var post = posts[--i]
var postlink = post.querySelector("a.taggedlink")
if(window.getComputedStyle(postlink, "").fontWeight == 800) {
post.style.display = "none";
}
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment