Tell HN: script to hide Apple-related news
Some people were complaining about the amount of Apple-related posts today, so I whipped up a quick script to hide them.
GreaseMonkey http://userscripts.org/scripts/show/73977
Bookmarklet
javascript:(function() {var as=document.getElementsByTagName("a");for(var i=0;i<as.length;i++)if(as[i].innerHTML.match(/Apple|Steve Jobs|iPhone|iPad|Gmail|Google/gim)){var tr=as[i].parentNode.parentNode;tr.style.display="none";tr.nextSibling.style.display="none";tr.nextSibling.nextSibling.style.display="none"}})()
(
4 comments
| 11 points
| on HN
)
http://userscripts.org/users/148096/scripts
(it seems we can't pass arbitrary params to greasemonkey, boo)