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.
![]() |
|||||||
---|---|---|---|---|---|---|---|
|
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 |
||||||
Posted On: 02/03/2009 12:13PM | View goatse-porridge's Profile | # | ||||||
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… |
|||||||
Posted On: 02/04/2009 3:43AM | View Wrong's Profile | # | ||||||
|
Wrong Posted:
Ooh, thanks. Yeah, it is different, my script does the regular forum lists; it’d probably blow up on the job board. |
||||||
Posted On: 02/04/2009 8:09AM | View goatse-porridge's Profile | # | ||||||
|
what is a bookmarklet? |
||||||
Posted On: 02/04/2009 8:26AM | View Inertia's Profile | # | ||||||
|
Inertia Posted:
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. |
||||||
Posted On: 02/05/2009 3:09AM | View goatse-porridge's Profile | # | ||||||
|
Someone grease monkey this ****. |
||||||
Posted On: 02/17/2009 9:08PM | View John Stossel's Profile | # | ||||||
|
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. |
||||||
Posted On: 02/17/2009 9:54PM | View futhermocker's Profile | # | ||||||