PDA

View Full Version : REV3 script 2.0


secret-steve-crumbles
12-16-2008, 12:14 AM
This is NOT the script.

// ==UserScript==
// @name REV3 Ignore Enhancer
// @description Removes posts by people on your ignore list, instead of just replacing them with a message that the post is hidden. Removes some posts that reply to people on your ignore list. Fixed name bug.
// @include http://revision3.com/*
// @exclude
// ==/UserScript==

(function() {
var allT;
var plonk = new Array();
allT = document.getElementsByTagName('table');
for (var i = 0; i < allT.length; i++) {
if(allT[i].innerHTML.match(/This message is hidden because <strong>(.*?)<\/strong> is on your <a href=\"profile/)){
allT[i].style.display="none";


plonk[RegExp.$1] = RegExp.$1;
}
}


for (var i = 0; i < allT.length; i++) {
for (var x in plonk) {
if(allT[i].innerHTML.match("<div>Originally Posted by <strong>"+plonk[x]+"</strong></div>")){
allT[i].style.display="none";
}
}
}

})();

chuckles
12-16-2008, 05:40 PM
Nice little script. I bet tons of you will be using it to ignore me now. :)

-chuckles-

secret-steve-crumbles
12-17-2008, 01:03 AM
The ignore enhancer lives on.... for now.... for now.

masherscf
12-17-2008, 01:06 AM
I can see this script growing in popularity.

secret-steve-crumbles
12-17-2008, 01:13 AM
Just wait until 3.0 where it will be able to ignore m*f

masherscf
12-17-2008, 01:13 AM
Just wait until 3.0 where it will be able to ignore m*f

Why wait?

secret-steve-crumbles
12-17-2008, 01:17 AM
Why wait?Did I say there wasn't a 3.0 coming?

bigshotprof
12-17-2008, 04:17 AM
Plonk?
(I know nothing about coding.)