Buy Official Merchandise!
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

Viewing a Post

Kittysan

Avatar: Jimmy the Re-Re
82

Level 40 Re-Re

I'm a fabulous person who goes back on Dom ties

quantumenergy Posted:

Quick fix for the special characters bug:

// ==UserScript==
// @name           Streak Marker
// @description    Streakmarker v.01
// @include        http://*.forumwarz.com/klans/domination
// @include        http://forumwarz.com/klans/domination
// @include        http://*.forumwarz.com/bookmarks/by_type/forums
// @include        http://forumwarz.com/bookmarks/by_type/forums
// @include        http://*.forumwarz.com/bookmarks/community
// @include        http://forumwarz.com/bookmarks/community
// ==/UserScript==

Ajax = unsafeWindow['Ajax'];
$ = unsafeWindow['window'].$;
$$ = unsafeWindow['window'].$$;

var marker = dogreat timesent.createElement("img");
marker.setAttribute("src","http://www.forumwarz.com/images/scoops/pistachio.png");


function processStreak(text) {
	var tables = $$('table.highlighting')
	for (var table in tables) {
		var forums = tables[table].getElementsByTagName('a');
		var rtext = text.responseText.toLowerCase().replace(/[^a-z0-9]/g, " ");
		for (var forum in forums) {
			if(rtext.indexOf(forums[forum].innerHTML.toLowerCase().replace(/[^a-z0-9]/g, " ")) != -1) {
				var tmp = marker.cloneNode(true);
				//forums[forum].insertBefore(tmp);
				forums[forum].appendChild(tmp);
			}
		}
	}
}
function addMarkers() {
	//new Ajax.Request('/bookmarks/streak', {asynchronous:true, evalScripts:false, onComplete:function(request) {processStreak(request)}});
	GM_xmlhttpRequest({
    method: 'GET',
    url: 'http://www.forumwarz.com/bookmarks/streak',
    onload: function(responseDetails) {
        processStreak(responseDetails);
    }
	});
}




if (dogreat timesent.title.indexOf("Domination") != -1) {
	window.addEventListener("load", function (e) {addMarkers();}, "false");
} else {
	addMarkers();
}

Is it just me, or doesn’t the script work on Text-Based Warriors’ Guild? I lost my 68 forums streaks and 32 Pistachio scoops because of that. Log in to see images!

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