Greasemonkey, as you may know, is a great Firefox plugin. It allows you to customize the way a webpage displays using small bits of JavaScript.
I tried using it for the first time yesterday. I have so far produced two scripts designed especially for TIGForums. I'm also interested if anyone else has some interesting scripts that improve their stay here?
Script 1: Capitalizing on Paul Eres.Based on a discussion with Paul here:
http://forums.tigsource.com/index.php?topic=5716.msg214463#msg214463Paul likes to write without capitalizing anything. I have a hard time understanding anything he says, because of this. To fix this, I have written a Greasemonkey script that capitalizes all posts by him. It manages to capitalize the first letter of sentences and the word "I" (in most cases). It's written in a pretty naive way. But based on what Paul usually writes, the script should be able to handle most things.
Script 2: Ban Super Joe!For anyone who wants to ban Super Joe, just run this script! It cleanses every thread on TIGForums from Super Joe's presence.
I don't actually use this. Anyone who would is a complete tool =)Enjoy!
Edit: I removed the link to the Ban Joe-script. I have been told that people actually could start using it(!)
Script 3: Ignore updated threads 2.0Made on request from moi. It removes threads from the "Recent Unread Topics" and "Updated Topics" lists. Currently it removes the threads "Example thread title 1" and "Example 2". To remove the threads of your choice you have to edit the script and add any threads you want to:
var threadsToIgnore = ["Example thread title 1", "Example 2"];
Version 2.0 also allows you to use regular expressions using this line:
var threadsToIgnoreRegexes = [/^thread titles that begin with something/, /end with something$/, /or contain something/];
You can edit the lists by opening "Manage User Scripts" in Greasemonkey, selecting the script and clicking "Edit" at the bottom left.