Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Userscripts.org Obnoxious Scripts Remover

Remove (hide) obnoxious scripts or any scripts from userscripts.org listings. Define criteria either by script number or name/keyword and now also by description keyword or keyphrase.

Use in conjunction with http://userstyles.org/styles/4002 to better stop obnoxious script listings (this is not necessary, only optional). You have to edit the script to define your lists.


4.x - script list updates

4.0 - updated main page xpaths
3.8 - added Partial Word List, now a partial word can be used to match the script (this is what sharmard was looking for, I think.
3.6 - xpaths shortened per jdblacklung's recommendation for better compatibility with pw's scripts.
3.5x - script array updates
3.4 - Cleaned some code, added daily dose of obnoxious scripts.
3.3 - Fixed script-number list not applying to main page.

Note: script number is the fastest filtering method.


Want to show your appreciation? Don't donate to me, rather donate to Ron Paul: a President that will keep the internet free so that scripts like these can lawfully exist.






Apr 29, 2008
teukkam Scriptwright

Glad to see I wasn't the only one annoyed by those, and that someone did something about them. Big thanks!

 
Jan 14, 2008
BAMFC User

Sorry to be stupid, but I can't figure out how to use this. I have Greasemonkey, and I've just installed this script along with the userstyles one that is also required. I can't figure out any way to tell it what words I want to filter out. Please help.

 
Jan 13, 2008
O Maluco User

Thank you for the fantastic work.

I have a question:

I have four accounts on the same travian server, it can be detected by them and they could ban me for multi-account. How can I make my ipaddress be different for the four accounts when i loggin? Is it possible?

The firefox have the foxyproxy but is to complex to me so if someone have an alternative way or if someone could explain me how foxyproxy could do that in a simple way please tell me.

I post this here because i didn't encounter a script here that does it so..

 
Dec 20, 2007
bobielawlintine Scriptwright

Very useful script. Now if only it could also block the spam when searching.

 
Dec 15, 2007
jbh User

Thank you for writing this much-needed script!

One little problem: I also use the AutoPagerize script which seems to disable this script after the first page. The first page hides all the 'scrap all' scripts but they appear on all subsequent pages. If I disable AutoPagerize then your script works on all pages. Is there any way around this, short of disabling AutoPagerize?

 
Dec 15, 2007
Bruno 'ReX' ... Scriptwright

Thanks for this! This scrap-all and OGame annoying scripts was a pain in the ass...

 
Dec 15, 2007
Jarett Scriptwright

Thank you so much. You'd think the site owners would do something about the spam. :/

 
Dec 14, 2007
TastyFlySoup Scriptwright

nice fix blacklung :P

 
Dec 12, 2007
jdblacklung User

Oh thank you jk- for this. I was hoping someone would code up this script.

What the hell is going on with all the "scrap all" junk? Does everyone really need to add their own version to userscripts.org?

BTW, I also installed pw's script Show More Scripts Per Page, and couldn't get it to work even after rearranging the script execution order in greasemonkey.

I was able to fix it by changing this code from Obnoxious Scripts Remover:

var List1 = new Array("//div[@id='content']/table[@class='wide forums']/tbody/tr/td[@class='script-install']/a",
                      "//div[@id='content']/table[@class='wide forums']/tbody/tr/td[@class='script-meat']/a[@class='title']",
                      "//div[@id='content']/table[@class='wide forums']/tbody/tr/td[@class='script-meat']/p[@class='desc']");

to this, by shortening the xpaths:

var List1 = new Array("//tr/td[@class='script-install']/a",
                      "//tr/td[@class='script-meat']/a[@class='title']",
                      "//tr/td[@class='script-meat']/p[@class='desc']");

 
Dec 11, 2007
Mercifull User

Brilliant. Why are there so many scrap all scripts anyway? Why would anyone want to spam their friends? :(

 
Dec 6, 2007
pw Scriptwright

Speaking as the author of those other scripts, I think what you need to do to make my show-more-pages script work with this one, is make it load first. One way to do that is to uninstall this script, install the show-more-pages script, and reinstall this one. It's probably also doable by editing the config.xml file in the gm_scripts directory.

 
Dec 5, 2007
Rudi Pittman Scriptwright

Any chance you could make your script work with http://userscripts.org/scripts/show/15657 which is a "show more scripts" script..it shows 3 pages at a time so when filtered you still get a full "page" of hits....your filter is so much faster than his for us non broadband folks. ;)

 
Nov 27, 2007
Matthew P. Scriptwright

Sadly, it took ages to find this script. So glad it removes most of the annoying scripts without even having to modify it.

 
Nov 26, 2007
Subodh Damle User

Thanks ! got rid of all the scrap all scripts.

 
Nov 19, 2007
sharmard User

Would it be possible to also eliminate scripts by text in their descriptions? We're getting flooded with "It sends scrap to all of ur friends at once!!" scripts with lots of different names.

Another request: It seems that only full words can be used to determine script titles. I'd like to be able to use partial words, but that doesn't seem to work.

Thanks again for a great script.

 
Nov 18, 2007
Marti Scriptwright

LOL... might have to use this one and I've only been here about 2 weeks. TIA

 
Sep 25, 2007
sharmard User

What a great script. Thank you thank you thank you.

 
Sep 25, 2007
Neewb Scriptwright

Die! OGame Userscripts Die!

You could comment on this script if you were logged in.