Closed GoogleCodeExporter closed 9 years ago
thanks!
you should be able to view stats for other teams in your league. I've been
doing it
for both of the leagues I am in.
1) what is the url of the league you are in? the script will only be activated
for
urls of the following form that are similar to:
this regexp: /^http\:\/\/baseball\.fantasysports\.yahoo\.com\/b\d\/\d+\/\d+.*/i
Example:
http://baseball.fantasysports.yahoo.com/b2/5334/8
Original comment by robobr...@gmail.com
on 30 Apr 2007 at 11:58
If you reach the others teams by clicking on the team name from the league
webpage,
then the script will work, but if you say select a team from the pull down menu
when
you're looking at your own team, then it won't work because of the regular
expression
that triggers the script.
when you select another team, the url looks something like this:
http://baseball.fantasysports.yahoo.com/b1/1234123/team?mid=5
should be easy to fix.
Original comment by rod...@gmail.com
on 4 May 2007 at 3:26
if you want to fix this yourself, a quick hack is to replace the first line of
the
function with:
if
(!location.href.match(/^http\:\/\/baseball\.fantasysports\.yahoo\.com\/b\d\/\d+\
/\d+.*/i)
&&
!location.href.match(/^http\:\/\/baseball\.fantasysports\.yahoo\.com\/b\d\/\d+\/
team\?mid=\d+.*/))
{
Original comment by rod...@gmail.com
on 4 May 2007 at 4:00
rodric checked in a fix for this and I verified that it works
Original comment by robobr...@gmail.com
on 4 May 2007 at 6:10
Original issue reported on code.google.com by
and...@najbarismo.com
on 26 Apr 2007 at 8:26