
Quote:
// ==UserScript==
// @name IGNore
// @namespace IGNore
// @include http://vnboards.ign.com/*
// IGNore
// version 0.1.1
// 2005-11-01
// Copyright (c) 2005, zargonmaximus
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
//
// A simple GreaseMonkey user script to ignore posts of certain users on the IGN
// message boards. To ignore a user, simply add them to the list below. If the
// script is already installed, this can be acomplished by going to
// Tools->Manage Scripts, selecting the IGN Boards Killfile, and
// pressing the "Edit" button.
//
// Original script created by Michael Stephens. Board code changed, rendering
// this script useless and non-functional. I decided to fix it for some board
// users for the time being while I work on a Extension to replace this
// greasemonkey script.
//
// Updates by Ugh_Lancelot on VN (text and formatting to let user know a poster was blocked
// instead of just blanking out the text completely)
//
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script.
//
// To install, you need Greasemonkey: http://greasemonkey.mozdev.org/
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to "Install User Script".
// Accept the default configuration and install.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name IGNore
// @namespace http://www.electroburn.org
// @description allows you to ignore posts from specific users
// @include http://boards.ign.com/*
// ==/UserScript==
// ADD YOUR IGNORES HERE:
list = new Array("auser", "anotheruser", "wowplayer321", "troll123"
;
function xpath(query) {
return document.evaluate(query, document, null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
}
var allRows, thisRow, allAuthor, thisAuthor;
allRows = xpath("//tr[@class=\"BoardRowA\"]"
;
allAuthor = xpath("//tr[@align=\"left\" and @valign=\"top\" and @class=\"BoardRowA\"]/td[@rowspan=3 and @width=\"17%\" and @class=\"BoardRowA\"]/a[@style]"
;
for(var i = 0; i < allRows.snapshotLength; i++) {
thisRow = allRows.snapshotItem(i);
thisAuthor = allAuthor.snapshotItem(i);
for(j = 0; j < list.length; j++) {
if(thisAuthor.innerHTML.toUpperCase() == list[j].toUpperCase()) {
thisRow.nextSibling.nextSibling.innerHTML = "<font size=1><i>User is being ignored.</i></font>" ;
thisRow.nextSibling.innerHTML = "";
thisRow.innerHTML = "<del><a class=\"AuthorLink\" href=http://www.urbandictionary.com/define.php?term=ass-hat>" + thisAuthor.innerHTML + "</a></del>";
}
}
}
// ==/UserScript==
// ==UserScript==
// @name IGNore
// @namespace IGNore
// @include http://vnboards.ign.com/*
// IGNore
// version 0.1.1
// 2005-11-01
// Copyright (c) 2005, zargonmaximus
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
//
// A simple GreaseMonkey user script to ignore posts of certain users on the IGN
// message boards. To ignore a user, simply add them to the list below. If the
// script is already installed, this can be acomplished by going to
// Tools->Manage Scripts, selecting the IGN Boards Killfile, and
// pressing the "Edit" button.
//
// Original script created by Michael Stephens. Board code changed, rendering
// this script useless and non-functional. I decided to fix it for some board
// users for the time being while I work on a Extension to replace this
// greasemonkey script.
//
// Updates by Ugh_Lancelot on VN (text and formatting to let user know a poster was blocked
// instead of just blanking out the text completely)
//
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script.
//
// To install, you need Greasemonkey: http://greasemonkey.mozdev.org/
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to "Install User Script".
// Accept the default configuration and install.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name IGNore
// @namespace http://www.electroburn.org
// @description allows you to ignore posts from specific users
// @include http://boards.ign.com/*
// ==/UserScript==
// ADD YOUR IGNORES HERE:
list = new Array("auser", "anotheruser", "wowplayer321", "troll123"
;function xpath(query) {
return document.evaluate(query, document, null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
}
var allRows, thisRow, allAuthor, thisAuthor;
allRows = xpath("//tr[@class=\"BoardRowA\"]"
;allAuthor = xpath("//tr[@align=\"left\" and @valign=\"top\" and @class=\"BoardRowA\"]/td[@rowspan=3 and @width=\"17%\" and @class=\"BoardRowA\"]/a[@style]"
;for(var i = 0; i < allRows.snapshotLength; i++) {
thisRow = allRows.snapshotItem(i);
thisAuthor = allAuthor.snapshotItem(i);
for(j = 0; j < list.length; j++) {
if(thisAuthor.innerHTML.toUpperCase() == list[j].toUpperCase()) {
thisRow.nextSibling.nextSibling.innerHTML = "<font size=1><i>User is being ignored.</i></font>" ;
thisRow.nextSibling.innerHTML = "";
thisRow.innerHTML = "<del><a class=\"AuthorLink\" href=http://www.urbandictionary.com/define.php?term=ass-hat>" + thisAuthor.innerHTML + "</a></del>";
}
}
}
// ==/UserScript==
-----signature-----
WoW and DAoC - Too many alts to count
Charter Member - Altaholics Anonymous
Charter Member - Altaholics Anonymous



e'know, com'on! Giimmeee di Ke$$$HHHHHH!"
Classic!