Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
||||||||||||||||||||||||||||
|
|
Dave 3, Awesome work...thanks! I know this seems greedy, but is there any way you can get your script to work on the "My Watch List" page as well? -Greg |
||||||||||||||||||||||||||||
|
|
thanks kccputech - you'll have to open a new window or tab and navigate to your opponent's page to see his/her scores |
||||||||||||||||||||||||||||
|
|
Awesome job, well done. No big deal, but is there a way to see your opponents scores for the night? Either I'm a dunce or it's not available. Thanks! |
||||||||||||||||||||||||||||
|
|
hey glenn i know my question has nothing to do with this script but i couldnt find your email anywhere so i was wondering if you could create this script except for baseball it is a bench all players without a game script http://userscripts.org/scripts/show/6716 that is the script link and here is the actual script // ==UserScript==
var doBench = function(event) { var allElements;
thisElement = allElements.snapshotItem(i); tds = thisElement.getElementsByTagName('td');
/* gameLogLink = document.createElement('a'); */
var BENCHBUTTON_ID = "bencherButton";
// create the bench button
// attach the bench button right before the "submit changes" button
i tried to mess around with it a little bit but got no luck please respond soon i will post this on a couple other pages to ensure that you get the message Aaron S |
||||||||||||||||||||||||||||
|
|
suoirafen - the player fix is in. and yes...my saturday night is this boring. |
||||||||||||||||||||||||||||
|
|
the new update works fine from what i've seen. but i was wondering if it was possible to make it so the links to the player pages could be fixed. the current links go to basketball.fantasysports.yahoo.com, while they should go to sports.yahoo.com |
||||||||||||||||||||||||||||
|
|
in progress players should be processed correctly now. I didn't have a chance to fully test it since most games have ended but I pushed the change anyway. please let me know if you run into issues. |
||||||||||||||||||||||||||||
|
|
yahoo tweaked their boxscores so I plan to update this script in the next day or two so that in progress games are processed correctly. stay tuned |
||||||||||||||||||||||||||||
|
|
B2608, the script only works when your players are in active/completed games. so if there is no boxscore link on the page, you won't see anything. |
||||||||||||||||||||||||||||
|
|
The "Show freebie stats" shows but nothing happens after I clicked on it. Have tried it on 3 different PCs and even on 1 with firefox and greasemonkey freshly installed. Wondering if anyone else has this issue |
||||||||||||||||||||||||||||
|
|
thanks for the bug report king leo, I fixed the problem. |
||||||||||||||||||||||||||||
|
|
I think this may be a one-time fluke, but I was trying to use the script to get the day's totals of my opponent (head-to-head), and he has Shaq on his team. Where the data for Shaq should be, it was Anderson Varejao's name and totals. I say fluke because I'm guessing this will only happen if Shaq & Varejao are in the same box score. My guess is something is going wrong handling the player ID's (Shaq=847; Varejao=3847). This isn't a big deal since they will only meet what two more times this season, but I thought it was worth noting. |
||||||||||||||||||||||||||||
|
|
Thanks for the update Dave, it works great. |
||||||||||||||||||||||||||||
|
|
Sorry I messed up on the copy there guys. Dave I saw that your update doesn't include what I called the "started" column. Yahoo also added a column showing if the player started and at what position. Here's what I did to fix it. '<thead> |
||||||||||||||||||||||||||||
|
|
hey guys, thanks for the heads up about the boxscore changes. I just updated the script to handle the new stats. King Leo, I never anticipated that people would update their weekly stats this way. I wanted this script to be more lightweight than the baseball one so I didn't create the arrays. maybe I'll do that next season or if yahoo makes drastic changes to the boxscore. |
||||||||||||||||||||||||||||
|
|
bawilson I tried the change and couldn't get it to work either. Could you double check the line of code you posted? I just posted the two lines (original and modified) directly next to one another to compare and at a glance they look identical. Thanks |
||||||||||||||||||||||||||||
|
|
Chip - I found that if you just modified the script and then reloaded the page that greasemonkey wouldn't pick up that the script had changed. I had to either navigate away from the page and navigate back to it or just remove the "#" symbol from the web address. Let me know if that works for you. Here's a link to a screen shot of it working. |
||||||||||||||||||||||||||||
|
|
bawilson, I tried to replace the line that you said and it doesn't fix it. I tried to fix it but I have no idea what i'm doing. Could you help me out? |
||||||||||||||||||||||||||||
|
|
Yahoo changed the way their box scores were set up. They´ve added three new columns. The first new column signifies if the player started, second new column is the point differential while the player was on the court, and I´m not sure what the third new column is for with the BA. I´ve gotten the script to work by changing line 178 in the script from
'<thead> to '<thead> That should work until Dave has a change to update the script himself. |
||||||||||||||||||||||||||||
|
|
hey dave, really fine stuff you've done with both scripts. Just to let you know this script is no longer working as intended because Yahoo added new columns to the box score. I don't know anything about javascript, but I played around with your baseball script because it could do the entire league (as pulled from the standings). I managed to get it working with fantasy basketball to pull stats and even customize the order (using the Array). Although I couldn't figure out how to make it deal with the shooting numbers as you have in the basketball. If this script will now require a system like the baseball one, where | 's are set to be a certain stat, would it be possible to have seperate columns for makes & attempts, and then pct's on another row (or column). This would be a way for the many fans of your script to keep track of their weekly FG%'s on their own.
Thanks for your hard work with this script. I can't wait for the next brilliant update. |
|||||||||||||||||||||||||||
|
|
yea i was referring to head to head leagues. it is rather easy to just look at the match up stats from yahoo and adding in today's stats. it's just with fg%, it doesn't work out as well. so i suppose it'd be really easy to just keep track of the weekly attempted and made shots at a minimum for a better idea where your fg and ft% stands. thanks for all your work. |
||||||||||||||||||||||||||||
|
|
wow...nvm i got it to work much thanks man! |
||||||||||||||||||||||||||||
|
|
IT DOES'NT WORK MAN!!! I downloaded it...then downloaded the script and went to fantasy basketball on yahoo and none of the stats showed! |
||||||||||||||||||||||||||||
|
|
linkin06 - is this for a h2h league? don't they already have something similar when looking at the matchups? they don't have the current days score but you could always open two windows; one for your team and the other for your opponent. if enough people want this feature I'd definitely consider it. |
||||||||||||||||||||||||||||
