Forumwarz is the first "Massively Single-Player" online RPG completely built around Internet culture.

You are currently looking at Flamebate, our community forums. Players can discuss the game here, strategize, and role play as their characters.

You need to be logged in to post and to see the uncensored versions of these forums.

Log in or Learn about Forumwarz

Civil Discussion
Switch to Role-Playing Civil Discussion
Interface Bookmarklet to show which forums are currently in your streak.

goatse-porri-
dge

Avatar: Boobs
3

Level 34 Camwhore

“Legs Wide Open”

My search-fu fails me, so I’ve no idea if this is redundant or not:

Save the following as a bookmarklet:

javascript:void(new Ajax.Request(
	'/bookmarks/streak',
	{asynchronous:true,
	 evalJS:false, 
	 onSuccess: function(request) {
	 	streak = /"<.*>"/.exec(request.responseText)[0];
	 	streak = new XML("<streak>"+eval(streak)+"</streak>");
	 	streak = streak..table..td.*;
	 	forums = [];
	 	for each (forum in streak) forums.push(forum.toString().replace(/\s/g, ''));
	 	
	 	links = dogreat timesent.getElementsByTagName('table')[0].getElementsByTagName('a');
	 	for each (link in links) {
	 		for each (forum in forums) {
	 			if (forum == link.text.toString().replace(/\s/g, '')) {
	 				link.style.textDecoration = 'line-through';
	 			}
	 		}
	 	}
	 	
	 },
	 onFailure: function(request) {
	 	alert(request);
	 }
	}
));

Put it on a browser toolbar, click when on a page with a forum list, enjoy bacon.

Works for me on FF3.1; can’t be bothered to test anywhere else, I did make an effort to use reasonably standard JavaScript though.

The way it works is an ugly hack and will probably break if the FW page layout changes in any significant way. (Dear ET: can we please get meaningful IDs or clbumes for scraping purposes? Or JSON output for the streak history.)

Licenced under the Do What The **** You Want Public Licence, which seemed somehow appropriate. Someone less lazy might want to adapt this into a GreaseMonkey script to automagically do this when a forum list is loaded.

goatse-porridge edited this message on 02/03/2009 12:17PM

Wrong

Avatar: 111306 Fri Feb 13 16:39:34 -0500 2009
2

Level 21 Hacker

I do all the cool coding ET's too much of a ****ing elitist to do.

It’s a bit different, but in my SuperKosherCrazyCareers GreaseMonkey script, I’ve added the possibility to filter out from the job list the forums that are in your streak. Check it out, it might interest you…

goatse-porri-
dge

Avatar: Boobs
3

Level 34 Camwhore

“Legs Wide Open”

Wrong Posted:

It’s a bit different, but in my SuperKosherCrazyCareers GreaseMonkey script, I’ve added the possibility to filter out from the job list the forums that are in your streak. Check it out, it might interest you…

Ooh, thanks. Yeah, it is different, my script does the regular forum lists; it’d probably blow up on the job board.

Inertia

Avatar: 60995 Fri Apr 03 12:59:05 -0400 2009
34

[Shii is gay]

Level 35 Troll

also wow i have no male reproductive organ

what is a bookmarklet?

goatse-porri-
dge

Avatar: Boobs
3

Level 34 Camwhore

“Legs Wide Open”

Inertia Posted:

what is a bookmarklet?

It’s a piece of Javascript code that’s saved as a browser bookmark. When you open that bookmark, it won’t change the page, but execute that code instead.

Log in to see images!

You just put the code you want run into the “Location” field with “javascript:” in front of it.

John Stossel

Avatar: 134911 Thu Feb 12 13:53:03 -0500 2009
9

[Fenjamellur]

Level 69 Emo Kid

“The Infinite Sadness”

Someone grease monkey this ****.

futhermocker

Avatar: 125126 Sat Feb 28 16:36:53 -0500 2009
13

[Cabal Gamez]

Level 69 Troll

This user causes YOUR HEAD ASPLODE!!!

There’s a Streakmarker script already.

You can find the original script here, and then once you install that make sure to upgrade the script so that Wahoo and JoJo also work with the script.

Internet Delay Chat
Have fun playing!
To chat with other players, you must Join Forumwarz or Log In now!