vBulletin - Full ignore

By Mithrandir Last update Jan 8, 2012 — Installed 746 times.

There are 1 previous version of this script.

// ==UserScript==
// @name         vBulletin - Full ignore
// @namespace    http://userscripts.org/people/5587
// @description  Stops display of truncated posts from users on your ignore list.
// @source       http://userscripts.org/scripts/show/24465
// @identifier   http://userscripts.org/scripts/source/24465.user.js
// @version      1.02
// @date         2012-01-08
// @creator      Arne Dieckmann (aka "Mithrandir")
// @include      */showthread.php*
// ==/UserScript==

(function (){
var filterkey = "?userlist=ignore&do=removelist&u=";

var allElements, thisElement;
allElements = document.getElementsByTagName('tr');
for (var i = 0; i < allElements.length; i++) {
  thisElement = allElements[i];
  if(thisElement.innerHTML.indexOf(filterkey)!=-1)
    {
    thisElement.parentNode.style.display = 'none';
    }
  }

// for new vBulletin 4.x try this:
GM_addStyle('li.postbitignored {display: none !important;}');
}());