By dydimustk
—
Last update
Jan 9, 2008
—
Installed
102 times.
// ==UserScript==
// @name Hide Read Topics
// @namespace http://dydimustk.com/userscripts
// @description Hide Read Topics in weknow Forums
// @include http://weknow.to/forums/
// ==/UserScript==
var allLi, thisLi;
allLi = document.evaluate(
"//li[contains(@class, 'NoNewComments')]",
document,
null,
XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,
null);
for (var i = 0; i < allLi.snapshotLength; i++) {
thisLi = allLi.snapshotItem(i);
thisLi.parentNode.removeChild(thisLi);
}