Archived Comments (locked)
|
|
i know this may be a little more daunting, but if there were a way to keep a running total for the week, that would be tremendous. could be a ton of code, but i could imagine just creating a new variable for each category and adding totals. the java seems fairly doable, and hopefully someone can implement it. |
|
|
I just did a minor update of the script. Instead of auto launching the window you now need to click on the blue "Show Freebie Stats" link in the upper right. This link used to be the "Get StatTracker" link. |
|
|
this is great.. excellent work. To get it to work only on my team page I removed the (funtion(){CODE_HERE}); that wrapped the script and replaced it with:
|
|
|
Dave, thanks for the z-index tip! That did it! I'm going to try to take your script and make a football script. I know a couple people interested in a football version of the script. |
|
|
doh!...I meant Tim :) |
|
|
Tom, glad you like the script. To make the button appear below the modal window, just change the z-index to some value less than 200. |
|
|
Nice script! I made a few changes, maybe they'll be helpful to others also. When this script loads, it loads html from the box score, which contains style infomraton that removes part of the team page background. I've added the following code to remove styles from the loaded html:
I added the above in getDocument(), after the replace()'ing of <body>. I also found the automatic loading of stats annoying. To get around this, I commented out showOverlay() in addModalOverlay(). Lastly, in addShowStatsButton(), I replaced GM_addStyle() for robobruinStatBtn with the following:
This makes the button not scroll, and moves it to the bar to the left of Launch StatTracker. The one problem I've had making the above changes, is now the button appears over the stats. I'm working on this, and will post a fix if I figure it out.</body> |