Yahoo Fantasy Baseball Matchups 2008

By Glenn Carr Last update Jul 23, 2011 — Installed 6,314 times.


Script Summary: Displays hitter matchups on the Yahoo Research > Matchup Ratings page in the "Comments" section. Also makes the "Matchup Ratings" sub-tab the default under "Research" instead of "Overview".

Remotely hosted version

Script homepage

about:config options:

hitter_highlight_color - background color used to highlight hitter matchups
pitcher_highlight_color - background color used to highlight pitcher matchups
good_stat_styles - CSS style for good ERA/BA (default - color: green; font-weight: bold;)
bad_stat_styles - CSS style for bad ERA/BA (default - color: red; font-weight: bold;)

Updates:
24-Jun-2008 - Rewrite for 2008 Yahoo site
25-Jun-2008 - Fixed bug that was showing incorrect hitter data, added current season stats vs L/RHP pitching
8-Jul-2008 - Removed debug textarea
21-Jul-2008 - Fixed placement of 'retrieving...' status text so that rows wouldn't expand/contract as much
21-Jul-2008 - Instead of automatically displaying the matchup status, added 'Show Details' link
1-Aug-2008 - Show which way hitter bats (L,R,S)
9-Apr-2009 - Fixed to work with Yahoo 2009 changes
29-Apr-2009 - Minor tweaks: display message if preview link is available, minor UI changes
12-Jun-2009 - Now displays last week of stats for hitter
9-Jul-2009 - Fixed intermittent bug causing most last week of stats to not be displayed
23-Jul-2011 - FF5 issue fixed - changed variable 'class' to 'cls' (thanks schnitzl...@gmail.com); changed 'alert's to 'GM_log's

Was this script helpful? Buy my lunch today! ;) Make a donation

Demo...
Click here to see an example in action...