Off Topic > Drama
Blockland Greasemonkey Scripts
aludane:
--- Quote from: Lørd Tøny on January 19, 2012, 06:57:55 PM ---Instead of just ignoring something let's all find ways to break the forum so we can ignore it.
--- End quote ---
This.
Lørd Tøny:
I also find it ironic that the people who protest pipa and sopa use the script.
You protest censorship yet you want the forum censored.
The Corporation:
--- Quote from: Funkadelic on January 19, 2012, 03:51:25 PM ---This is genius.
--- End quote ---
Lørd Tøny:
--- Quote ---// ==UserScript==
// @name Ignore Pony Topics
// @version 0.1.1
// @description Ignore Pony topics, too.
// @include http://forum.blockland.us/index.php?board=*
// @copyright 2012+ Iban
// ==/UserScript==
var tables = document.getElementsByTagName('table'), matchClass = "bordercolor", badRows = new Array();
for(var i = 0; tables.length; i++)
{
if((" "+tables.className+" ").indexOf(" "+matchClass+" ") > -1) {
var rows = tables.getElementsByTagName('tr');
for(var j = 0; j < rows.length; j++) {
var cells = rows[j].getElementsByTagName('td');
if(cells[1].innerHTML.search(/pony/i) > -1) {
badRows.push(rows[j]);
}
}
// Google Chrome intelligently places a <tbody> in the <table>.
// However, the original SMF code does not have the <tbody>
// Cover our ass.
var tbody = tables.getElementsByTagName('tbody');
for(var k = 0; k < badRows.length; k++) {
if(tbody.length) {
tbody[0].removeChild(badRows[k]);
}
// No <tbody>, remove straight from the <table>
else {
tables.removeChild(badRows[k]);
}
}
break;
}
}
--- End quote ---
This blocks any thread with "pony" in the title. What if someone was talking about a normal pony that had absolutely nothing to do with MY Little Pony?
AND! There is only like ONE current pony thread so if you can't ignore one thread then what the hell?
Stocking:
--- Quote ---// @copyright 2012+ Iban
--- End quote ---
I like how you make a thread for a script you stole from Kingdaro and then you have the nerve to put a copyright on it.
This whole "blocking users" thing is handicapped. It's only going to create confusion when a user you've removed is having conversations with the rest of the people in a thread, and you bumble in like an idiot and aren't able to understand what's going on because of your own lack of self-control and discipline.