chrisavis wrote:
Is there a way to mark a thread to be ignored? I would like to mark certain threads to not show up when I select "View Unread Posts".
-Chris
I have a GreaseMonkey script that ignores certain forums. It could be modified to ignore threads.
Code:
// ==UserScript==
// @name Ignore certain forums
// @namespace http://www.inkaraoke.com/karaoke/
// @description Ignore certain forums
// @include http://*karaokescene.com/forums/search*
// ==/UserScript==
(function() {
var results = document.evaluate("//a", document, null, XPathResult.ANY_TYPE, null);
var resultNodes = [];
var block = new Array;
block['TheLoungeOffTopic'] = 1;
block['KJsONLY'] = 1;
block['KaraokeLegalitiesPiracyandmore'] = 1;
block['NewbieIntro'] = 1;
block['IntroductionNewbies'] = 1;
block['NewMusicRequestampReleased'] = 1;
// block['Announcements'] = 1;
block['Events'] = 1;
block['SingersForum'] = 1;
block['SingersShowcaseDiscussions'] = 1;
var ct = 0;
while (aResult = results.iterateNext()) {
resultNodes.push(aResult);
}
for (var i in resultNodes) {
var containingRow = resultNodes[i].parentNode.parentNode.parentNode;
var user = resultNodes[i].innerHTML;
user = user.replace(/\W+/g, '');
// alert("Found forum " + user);
// containingRow.setAttribute('class', user);
if(block[user])
containingRow.style.display='none';
}
})();