| Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) | |
|
+5Bust Jazz™ thorax Jill Sandwich ShadoFlame 9 posters |
Author | Message |
---|
ShadoFlame * *
Posts : 11 Join date : 2009-04-17
| Subject: Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) Fri 17 Apr 2009, 21:05 | |
| When run, and in the arena, if you click on a player you will be directed to his profile (useful for seeing if player is good or not). - Code:
-
// ==UserScript== // @name MyBrute // @description Replaces brutes' names by their url in arena to help you see their profile. // @namespace aivean.com // @version 0.1 // @include http://*.mybrute.com/arene // @include http://*.mybrute.com/arene/* // ==/UserScript==
var allnames = document.getElementsByTagName("div"); for(var i=0; i<allnames.length; i++){ var nameEl = allnames[i]; if(nameEl.getAttribute("class") == "name" ){ var name = nameEl.innerHTML; var link = document.createElement('a'); link.setAttribute('href', 'http://'+name+'.mybrute.com/cellule/'); link.setAttribute('target', '_blank'); link.setAttribute('onclick', 'return false;'); link.innerHTML = name; nameEl.innerHTML = ""; nameEl.insertBefore(link, null); - ShadoFlame | |
|
| |
Jill Sandwich Forum Mod
Posts : 1690 Join date : 2009-04-14 Age : 35 Location : Tranquility Lane
| Subject: Re: Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) Fri 17 Apr 2009, 22:32 | |
| Very nice! This will prove useful. Too bad I know nothing of scripts, but useful this is! | |
|
| |
thorax * * * * * * *
Posts : 275 Join date : 2009-04-17
| Subject: Re: Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) Fri 17 Apr 2009, 23:27 | |
| Oh brilliant script. How do we use it lol. I am an idiot at this stuff | |
|
| |
Jazz™ * * * * * * * * * *
Posts : 1219 Join date : 2009-04-15 Age : 31 Location : Philippines
| Subject: Re: Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) Sun 19 Apr 2009, 11:07 | |
| save it on notepad and save as
"anything.bat"
am i correct? | |
|
| |
Bust * *
Posts : 11 Join date : 2009-04-13
| Subject: Re: Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) Sun 19 Apr 2009, 14:44 | |
| Wrong . You need a firefox plugin called GreaseMonkey for this | |
|
| |
thorax * * * * * * *
Posts : 275 Join date : 2009-04-17
| Subject: Re: Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) Mon 20 Apr 2009, 11:18 | |
| Nice job. Did you make it? | |
|
| |
rockhunter75 * * *
Posts : 27 Join date : 2009-04-20
| Subject: Re: Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) Tue 21 Apr 2009, 19:53 | |
| Please explain in more detail how to use this. | |
|
| |
Jazz™ * * * * * * * * * *
Posts : 1219 Join date : 2009-04-15 Age : 31 Location : Philippines
| Subject: Re: Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) Wed 06 May 2009, 08:43 | |
| hahha now i know.. i already installed this on my brute thanks ^^ | |
|
| |
Meathook *
Posts : 1 Join date : 2009-05-05
| Subject: Re: Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) Wed 06 May 2009, 11:00 | |
| hmm.. I can't get it to work. In the arena, it says that the script is enabled.. but when I challange a brute, his name is not replaced with a link to his profile..?
Edit:Actually, on the http://*.mybrute.com/vs/* page, it says that "no scripts installed!" in greasemonkey plugin.
Edit: Nevermind. OP failed to explain that you need to install it from userscripts website: http://userscripts.org/scripts/show/46302
| |
|
| |
bruniitho5 * *
Posts : 13 Join date : 2009-05-31 Age : 30
| Subject: Re: Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) Fri 03 Jul 2009, 04:47 | |
| | |
|
| |
Yaboirobby * * * * * * * * * * *
Posts : 4322 Join date : 2009-05-21 Age : 29 Location : Atlanta, GA
| Subject: Re: Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) Fri 03 Jul 2009, 12:12 | |
| Nice bro, that could prove helpful later | |
|
| |
Sponsored content
| Subject: Re: Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) | |
| |
|
| |
| Useful Script For Player Profile (GREASEMONKEY REQUIRED - FIREFOX ONLY) | |
|