Author Topic: Anyone have that script that hides specific users' posts?  (Read 1156 times)

Anyone have that script that hides specific users' posts?

I need it. I tried searching, and I haven't turned up anything.
I think it's a grease monkey script.

do not block pablo posts friend

who is it you're going to block

i'd rather not say, if someone could post it with like <NAMEHERE> I can easily edit it

it's not you guys, you're not annoying

I have a simple one. The better one by Iban doesn't seem to work anymore.
Code: [Select]
// ==UserScript==
// @name       NAME HERE Removal
// @namespace  http://forum.blockland.us/
// @version    0.2
// @description  something useful
// @include    http://forum.blockland.us/*
// @copyright  2012+, Kingdaro
// ==/UserScript==

var postForm = document.getElementById('quickModForm');
var posts = postForm.getElementsByTagName('tr');
var n = 'NAME HERE';

var i;
for (i=0;i<=posts.length;i++){
var v = posts[i];
var str = v.innerHTML;

if (str.search(n)>-1){
posts[i].innerHTML = '<td class="windowbg" style=" \
border-style:solid; \
border-color:black; \
border-width:1px 1px 0 1px; \
text-align:center; \
">-spam-</td>';
}
}

Is that a tampermokney or greasemonkey script?

EDIT: Lol i saw who it was meant for. Thanks a ton, it worked

Yay. I have mine set to Elecro and moundsbar. It's pretty nice

Man, why do people use those scripts, I mean what if the person changes or gives off a good opinion?

Man, why do people use those scripts, I mean what if the person changes or gives off a good opinion?
trust me, not the guy i blocked. lol

i can save brain cells this way.

gonna lock to avoid controversy. Thanks a million for the script.