Originally posted by sirnotappearinginthisfilm
Originally posted by Wrath Of Conor
Originally posted by sirnotappearinginthisfilm
found "Add cash to player home page" on userscripts.org:
http://userscripts.org/scripts/show/27967
I liked it, but, I didn't like the fact you had to hard code the player URLs. I've modified this to dynamically get the cash amount for all players on the page, no hard coding required. I tested this on my own page (I have 3 players) would be curious to see how well it works for someone with a lot of players.
my modified version
http://userscripts.org/scripts/show/29108
I like this script as now I can sort the players and the cash item stays with the correct player. I do have one question. Could you modify the script or tell me how to so I can put the cash item next to the energy bar rather than on its own row? At my screen resolution it's outside the normal player box and there should be plenty of room next to the energy bar.
The cash amount outside of the gray box was something I wasn't able to fix. This script adds another row to a table element, theoretically it should expand the table background color to extend with the addition of the row, but, it doesn't and I don't know why.
Is it possible to put the cash to the right of the Energy bar? Yes but it will require some alteration of the script, I don't mind do it, it just may take a bit.Could the actual $ amount be
Bolded and a different color, such as Dark Blue or something? I actually used someone else's suggestion and changed the code so that the cash went to the left, under the player's XP.
Just changed the following:
var playerbox=getElementsByClassName('player_vitals',document) to
var playerbox=getElementsByClassName('player_left_side',document)
For the
Bolding, this is how it should look:
class='player_vital_head'>Cash:</td><td><b>" + cash2[0] + "</b></td>