Results 1 to 5 of 5

Threaded View

  1. #1

    Default Spammer-hiding Script

    The script I dug out from another vBulletin forum doesn't work on this one, so I made some modifications to it to hide spammers.

    You will need to install the TamperMonkey (Chrome/Opera) or GreaseMonkey (Firefox) plugin for this to work

    After getting the plugin, click the Tamper/GreaseMonkey button next to the URL bar and add a new script.

    Paste the following inside:

    Code:
    // ==UserScript==
    // @name PSOW Ignore
    // @description Ignores spammers
    // @include */forumdisplay.php*
    // ==/UserScript==
    
    function filterThreads() {
    var ignorelist = ["gnxbohpmfvsd", "gnhgofwb", "gnhdoncn", "gnepnlln", "gnwtjrofxaxd", "fgroafgh", "aadland1164aiya", "fgrkvfvl","gnwzmzogjkgn", "anacino1162aiji", "abadie1177akira", "alessandra1250", "limlexy", "xinkate", "sabbylopez", "joycollen", "pattytorres15", "dimatoyokazu9", "gnvmfakqcvay", "lookerter"];
    	var allT; 
    	var allR;
        var count = 0;
    	
    	allT = document.getElementsByTagName("div");
        
        // find tags that match a thread starter, i.e. 3 childnodes and "smallfont" style
    	for (var i = 0; i < allT.length; i++)
    	{
        	if (allT[i].className == "smallfont" && allT[i].childNodes.length == 3)
           	{
            	// tag found, scroll through ignore list
           		for (var ii = 0; ii < ignorelist.length; ii++)
                {
           			if(allT[i].childNodes[1].innerHTML.match(ignorelist[ii]))
                	{
                   		allT[i].parentNode.parentNode.style.display="none";
                        count++;
                	}
                }
           }
           
    	}
    };
    
    filterThreads();
    Change "spammer3" in the script to whichever new spammer you want to ignore, and to add more to the list, simply add a comma followed by the next spammer name in inverted commas, so the line should look like:

    Code:
    var ignorelist = ["asifsolanki244", "patricia1", "spammer3", "spammer4", "spammer5"];
    And boom spammers should be hidden now.
    Last edited by Selphea; Feb 6, 2016 at 06:52 AM.

Similar Threads

  1. I'd like to thank our 3 members, re: spammers!
    By LollipopLolita in forum Site Related
    Replies: 6
    Last Post: Oct 15, 2002, 08:35 PM
  2. Spammers and Fanboys
    By Ness in forum Rants: Dead horse Society
    Replies: 18
    Last Post: Aug 22, 2002, 09:29 AM
  3. PSO Hide And GO SEEK!!
    By Ice_ in forum PSO General
    Replies: 19
    Last Post: Apr 21, 2001, 02:15 PM
  4. Censorship: What is PSO World hiding?
    By Ven_Jance in forum Rants: Dead horse Society
    Replies: 29
    Last Post: Apr 18, 2001, 12:51 PM
  5. Ive been seeing some weird scripts!!
    By GEBB in forum PSO General
    Replies: 2
    Last Post: Mar 7, 2001, 04:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •