Created
October 14, 2010 19:07
-
-
Save higeorange/626818 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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