Post doesn't exist

Archived Comments (locked)

in
Subscribe to Archived Comments 5 posts, 5 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
aaron1325714 User

could you make this script work where you don't have to click opponents to get the matchup info

and so you could just see it on the stats page

thank you

 
Tim Harding Scriptwright

Carey,
I believe Yahoo changed the html on their page. A quick fix to get the date function to work is to go to line 75 in the script code and delete "/td" (leave one forward slash there). The line should now be:

var currentDate = document.evaluate( '//div[@id="datenav"]/ul/li[@class="current selected"]//a[@title="Current Date"]', document.body, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null );

Glenn, I'm not an expert but I believe that is all that's needed for a fix. Thanks for all the great scripts! (still waiting on an update to the Matchups script to fix the undefined error ;)

 
Carey User

I think there is a problem with the date function in the code as it keeps pulling null for the date in the url.

Please let me know if this is a problem for anyone else.

 
terrym User

your scripts are great. Can you make one for fantasy yahoo nascar that would let me see all the starters. Currently you have to open each team page to see who the manager started.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel