Mick876
Guest
Yes if you wish, but change the colour codes so all of them are a different colour.
Does it also works with Opera? Because it doesnt work for me
I read the responses last night on my mobile and did a really long essay but when I submitted the reply it timed out -_-
As Mick stated, you have to change the values, if you check inside the Map Spoiler, theres another spoiler saying everything you have to change
Thanks for feedback, and Pervis means alot <3
Btw, is there any Tutorials you guys/girls are looking for? I was thinking of making some others as I have too much time on my hands
javascript:var doc=(window.frames.length>0)?window.main.document: document;var player="gman1994";var display=['Defensive','Offensive'];var color=['#0033CC','#00FF00'];function getElementByClass(a,b){var c=doc.getElementsByTagName(a);for(var x=0;x<c.length;x++){if(c[x].className==b){return c[x]}}return-1}function setStatusTitle(a,b){var c=doc.getElementsByTagName("h2");if(c[0].innerHTML.length>12){c[0].innerHTML=c[0].innerHTML.replace(c[0].innerHTML.substring(12)," ("+a+"/"+b+")")}else{c[0].innerHTML+=" ("+a+"/"+b+")"}}if(doc.URL.match(/screen=map/)){el=getElementByClass("table","map");var teller=1;maxaantal=(el.rows.length*el.rows[1].cells.length);for(var x=0;x<el.rows.length;x++){for(var y=0;y<el.rows[x].cells.length;y++){setStatusTitle(teller++,maxaant al);for(var z=0;z<display.length;z++){if(el.rows[x].cells[y].innerHTML.match(display[z],"i")&&el.rows[x].cells[y].innerHTML.match(player,"i")){el.rows[x].cells[y].innerHTML+="<div style = \"position: absolute; background-color:"+color[z]+"; filter:alpha(opacity=80); opacity:.8; -moz-opacity:.8; width:53px; height:12px; margin-top:-13px; display:block; color:black;\">"+display[z]+"</div>"}}}}}else{alert("This option can only be used in the map!")};void 0;
Actually opera is preferable to use.
missing ) after argument list
Yes, I am on the map when I click it, and my username is also spelled correctly. Also my groups are spelled correctly.
Edit, I have the groups like "K51 deffensive", and "k51 Offensiv"e. Could the problem be that there are 2 different words instead of "deffensive"
javascript:var player="gman1994";var display=['Def V','Off V'];var color=['#0033CC','#00FF00'];function getElementByClass(a,b){var c=document.getElementsByTagName(a);for(var x=0;x<c.length;x++){if(c[x].className==b){return c[x]}}return-1}function setStatusTitle(a,b){var c=document.getElementsByTagName("h2");if(c[0].innerHTML.length>12){c[0].innerHTML=c[0].innerHTML.replace(c[0].innerHTML.substring(12)," ("+a+"/"+b+")")}else{c[0].innerHTML+=" ("+a+"/"+b+")"}}if(document.URL.match(/screen=map/)){el=getElementByClass("table","map");var teller=1;maxaantal=(el.rows.length*el.rows[1].cells.length);for(var x=0;x<el.rows.length;x++){for(var y=0;y<el.rows[x].cells.length;y++){setStatusTitle(teller++,maxaantal);for(var z=0;z<display.length;z++){if(el.rows[x].cells[y].innerHTML.match(display[z],"i")&&el.rows[x].cells[y].innerHTML.match(player,"i")){el.rows[x].cells[y].innerHTML+="<div style = \"position: absolute; background-color:"+color[z]+"; filter:alpha(opacity=80); opacity:.8; -moz-opacity:.8; width:53px; height:12px; margin-top:-13px; display:block; color:black;\">"+display[z]+"</div>"}}}}}else{alert("This option can only be used in the map!")};void 0;
Does the script work whit IE??