robin
Stylish Dinosaur
- Joined
- Dec 5, 2006
- Messages
- 12,378
- Reaction score
- 161
If you use the "New Posts" feature frequently, you're probably annoyed like I am with the large number of rows that show up for the Current Events forum. If you use Firefox and install the Greasemonkey plugin, you can now hide them from view with this script I just whipped up.
Disclaimer: I have not tested this beyond Firefox 3. It's also not my fault if your computer breaks.
Steps:
1. Install Greasemonkey: https://addons.mozilla.org/en-US/firefox/addon/748
2. Create a new user script. Select Tools > Greasemonkey > New User Script...
3. In the New User Script window, enter a name for the script like "Hide CEsspool". Namespace can be set to "http://blah". Set includes to "http://www.styleforum.net/*".
It will look like this:
Hit the OK button.
4. It will ask you to choose a text editor. Find notepad.exe or wordpad.exe in your windows directory.
5. Once your text editor is opened, delete all of the text shown, paste in this code, and save the document.
Code:
// ==UserScript==
// @name\t\tHide CEsspool
// @author\t\tRobin
// @include\t\thttp://www.styleforum.net/*
// ==/UserScript==
rows = document.evaluate('//tr/td/a[@href="forumdisplay.php?f=8"]',document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null)
for (i = 0; i < rows.snapshotLength; i++) {
(foo = rows.snapshotItem(i).parentNode.parentNode).parentNode.removeChild(foo)
};
Screenshot of what it should look like:
6. Open the Manage User Scripts page if it's not already. Select Tools > Greasemonkey > Manage User Scripts.... Check that http://www.styleforum.net/* is shown in the included URL's.
7. Close the greasemonkey menus and try New Posts again. CEsspool links should disappear.
I've also compiled the script into a Firefox plugin and it seems to also work without having to install greasemonkey, but I don't have a place to host it yet. Maybe tonight.
Disclaimer: I have not tested this beyond Firefox 3. It's also not my fault if your computer breaks.
Steps:
1. Install Greasemonkey: https://addons.mozilla.org/en-US/firefox/addon/748
2. Create a new user script. Select Tools > Greasemonkey > New User Script...
3. In the New User Script window, enter a name for the script like "Hide CEsspool". Namespace can be set to "http://blah". Set includes to "http://www.styleforum.net/*".
It will look like this:

Hit the OK button.
4. It will ask you to choose a text editor. Find notepad.exe or wordpad.exe in your windows directory.
5. Once your text editor is opened, delete all of the text shown, paste in this code, and save the document.
Code:
// ==UserScript==
// @name\t\tHide CEsspool
// @author\t\tRobin
// @include\t\thttp://www.styleforum.net/*
// ==/UserScript==
rows = document.evaluate('//tr/td/a[@href="forumdisplay.php?f=8"]',document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null)
for (i = 0; i < rows.snapshotLength; i++) {
(foo = rows.snapshotItem(i).parentNode.parentNode).parentNode.removeChild(foo)
};
Screenshot of what it should look like:

6. Open the Manage User Scripts page if it's not already. Select Tools > Greasemonkey > Manage User Scripts.... Check that http://www.styleforum.net/* is shown in the included URL's.

7. Close the greasemonkey menus and try New Posts again. CEsspool links should disappear.
I've also compiled the script into a Firefox plugin and it seems to also work without having to install greasemonkey, but I don't have a place to host it yet. Maybe tonight.