Iain’s user scripts and jugglingdb spam filter

“User-scripts” change the behavior of websites. In particular: jugglingdb.user.js filters spam from the IJDb’s interface to rec.juggling. I have written other scripts too, but the instructions below assume you want the spam filter.

Important: if version 2 doesn’t work for you, let me know which browser you use and try version 1 instead.


Firefox: Add Greasemonkey. Then click on the script: jugglingdb.user.js, and confirm that you want to use it.

Google Chrome: click on the script: jugglingdb.user.js, and confirm that you want to use it.

Opera: manually put jugglingdb.user.js in the directory specified under: Tools > Preferences > Advanced > Content > JavaScript options. More information in the official instructions.

Other browsers (possibly including Internet Explorer): The following two pages list ways to install user-scripts for several web-browsers: greasepot.net, wikipedia.

Screenshots / Demo

Here is what jugglingdb.com/news looks like with the script:

[Screenshot with spam hidden]

Clicking any of the “Hide” checkboxes in the right-most column will make that row disappear (just for you). Clicking the “Show Hidden” link shows everything that has been hidden:

[Screenshot with spam shown and highlighted]

Most spam (shown in red) is hidden automatically. Threads that were manually hidden (for the local browser only) are shown in green. All these colored threads will be hidden again on a page refresh or on clicking “Hide Hidden”. If you don’t want a thread to be hidden in future, simply uncheck its box in the right column.

I update the spam heuristics every so often. Click the update link to get the latest version. False positives are pretty rare, but you can now unhide the threads yourself (they’ll stay red to alert you to the fact that the filter would otherwise hide them).