<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Yahoo Fantasy Baseball Live Stats | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/5143</link>
    <description>Recent comments on userscript: Yahoo Fantasy Baseball Live Stats</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>New features?, replied by poopsmagee</title>
      <description>&lt;p&gt;I think I speak for everyone when I say if this would update the matchup page as well for h2h support it would be perfect.&lt;/p&gt;</description>
      <pubDate>Mon, 04 May 2009 04:33:28 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:24463:117593</guid>
      <author>poopsmagee</author>
      <link>http://userscripts.org/posts/117593</link>
    </item>
    <item>
      <title>New features?, replied by Dave 3</title>
      <description>&lt;p&gt;the script parses yahoo's boxscore pages to populate the stats.&lt;/p&gt;</description>
      <pubDate>Fri, 01 May 2009 04:29:42 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:24463:116587</guid>
      <author>Dave 3</author>
      <link>http://userscripts.org/posts/116587</link>
    </item>
    <item>
      <title>New features?, replied by nymets</title>
      <description>&lt;p&gt;I'm trying to find the site that the script is getting the stats in order to make an excel file getting up to the minute stats. Do you have any ideas?&lt;/p&gt;</description>
      <pubDate>Thu, 30 Apr 2009 00:57:46 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:24463:116172</guid>
      <author>nymets</author>
      <link>http://userscripts.org/posts/116172</link>
    </item>
    <item>
      <title>New features?, replied by Dave 3</title>
      <description>&lt;p&gt;I don't think I'll be implementing those features anytime soon.  I'll check out bearzly's script.&lt;/p&gt;</description>
      <pubDate>Mon, 13 Apr 2009 05:09:32 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:24463:110599</guid>
      <author>Dave 3</author>
      <link>http://userscripts.org/posts/110599</link>
    </item>
    <item>
      <title>New features?, replied by suckerpuncher</title>
      <description>&lt;p&gt;Is there any chance you could implement H2H support and Points scoring?&lt;/p&gt;

&lt;p&gt;If it helps bearzly created a script for hockey that has those features: &lt;a href=&quot;http://userscripts.org/scripts/show/12777&quot;&gt;http://userscripts.org/scripts/show/12777&lt;/a&gt;
&lt;br /&gt;Maybe you adapt it for baseball.&lt;/p&gt;

&lt;p&gt;Thanks in advance.&lt;/p&gt;</description>
      <pubDate>Tue, 07 Apr 2009 10:39:57 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:24463:109016</guid>
      <author>suckerpuncher</author>
      <link>http://userscripts.org/posts/109016</link>
    </item>
    <item>
      <title>Archived Comments, replied by Dave 3</title>
      <description>&lt;p&gt;I didn't write a script for fantasy football but someone else has:  &lt;a href=&quot;http://userscripts.org/scripts/show/6486&quot;&gt;http://userscripts.org/scripts/show/6486&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;if you're a facebook user, check out &lt;a href=&quot;http://apps.new.facebook.com/fbfantasy/&quot;&gt;http://apps.new.facebook.com/fbfantasy/&lt;/a&gt;.  there's free live scoring and real time stats.&lt;/p&gt;</description>
      <pubDate>Sun, 31 Aug 2008 08:00:34 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49953</guid>
      <author>Dave 3</author>
      <link>http://userscripts.org/posts/49953</link>
    </item>
    <item>
      <title>Archived Comments, replied by Adam606</title>
      <description>&lt;p&gt;Do you have a script for fantasy football on yahoo?  I really enjoy what you have put togrther for baseball and was wondering if you have the same for football.  Thanks again and please let me know.&lt;/p&gt;</description>
      <pubDate>Tue, 26 Aug 2008 00:46:52 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49954</guid>
      <author>Adam606</author>
      <link>http://userscripts.org/posts/49954</link>
    </item>
    <item>
      <title>Archived Comments, replied by aaron1325714</title>
      <description>&lt;p&gt;hey glenn i know my question has nothing to do with this script but i couldnt find your email anywhere&lt;/p&gt;

&lt;p&gt;so i was wondering if you could create this script except for baseball it is a bench all players without a game script&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://userscripts.org/scripts/show/6716&quot;&gt;http://userscripts.org/scripts/show/6716&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;that is the script link&lt;/p&gt;

&lt;p&gt;and here is the actual script&lt;/p&gt;

&lt;p&gt;// ==UserScript==
&lt;br /&gt;// @name        Yahoo Fantasy NBA Bench All
&lt;br /&gt;// @namespace   &lt;a href=&quot;http://mattandchristy.net/benchall&quot;&gt;http://mattandchristy.net/benchall&lt;/a&gt;
&lt;br /&gt;// @description Provides a button to bench all players without a game
&lt;br /&gt;// @include     &lt;a href=&quot;http://basketball.fantasysports.yahoo.com/nba/*/*?date&quot;&gt;http://basketball.fantasysports.yahoo.com/nba/*...&lt;/a&gt;=*
&lt;br /&gt;// @include     &lt;a href=&quot;http://basketball.fantasysports.yahoo.com/nba/*/*/editroster&quot;&gt;http://basketball.fantasysports.yahoo.com/nba/*...&lt;/a&gt;
&lt;br /&gt;// ==/UserScript==
&lt;br /&gt;//
&lt;br /&gt;// Change log:
&lt;br /&gt;//  2006-12-10  Initial version of script; used Yahoo Fantasy NBA Game Log Link
&lt;br /&gt;//              as a base to start developing&lt;/p&gt;

&lt;p&gt;var doBench = function(event) {&lt;/p&gt;

&lt;p&gt;  var allElements;
&lt;br /&gt;  var thisElement;
&lt;br /&gt;  var playerLink = &quot;http://sports.yahoo.com/nba/players/&quot;
&lt;br /&gt;  var gameLogLink;
&lt;br /&gt;  
&lt;br /&gt;  
&lt;br /&gt;  allElements = document.evaluate(
&lt;br /&gt;    &quot;//*[contains(@class, 'player')]/..&quot;,
&lt;br /&gt;    document,
&lt;br /&gt;    null,
&lt;br /&gt;    XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
&lt;br /&gt;    null);
&lt;br /&gt;  
&lt;br /&gt;  // burn the first two rows; they are headers, not players
&lt;br /&gt;  for (var i = 2; i &amp;lt; allElements.snapshotLength; i++) {&lt;/p&gt;

&lt;p&gt;    thisElement = allElements.snapshotItem(i);&lt;/p&gt;

&lt;p&gt;    tds = thisElement.getElementsByTagName('td');
&lt;br /&gt;    nameNode = tds[1];
&lt;br /&gt;    if(nameNode) {
&lt;br /&gt;          // td       div        a          textnode   value
&lt;br /&gt;      name = nameNode.firstChild.firstChild.firstChild.nodeValue;
&lt;br /&gt;      
&lt;br /&gt;      // get the opponent TD's innerHTML; text node won't work because
&lt;br /&gt;      // the ? for 'no opponent' gets translated to a character =/
&lt;br /&gt;      opp  = tds[3].innerHTML;
&lt;br /&gt;      
&lt;br /&gt;      if(opp == '?') {
&lt;br /&gt;        
&lt;br /&gt;        newPosSelectNode = tds[2].firstChild;
&lt;br /&gt;        // select the 'BN' node for these guys (last option)
&lt;br /&gt;        newPosSelectNode.selectedIndex = newPosSelectNode.length-1;
&lt;br /&gt;        
&lt;br /&gt;        GM_log(&quot;Benching &quot; + name);
&lt;br /&gt;      }
&lt;br /&gt;    }  
&lt;br /&gt;  }
&lt;br /&gt;  
&lt;br /&gt;  // stop event propagation, if this was a click
&lt;br /&gt;  if(event) {
&lt;br /&gt;    event.stopPropagation();
&lt;br /&gt;    event.preventDefault();
&lt;br /&gt;  }
&lt;br /&gt;}&lt;/p&gt;

&lt;p&gt;/* 	    gameLogLink = document.createElement('a'); */
&lt;br /&gt;/*       gameLogLink.setAttribute(&quot;href&quot;,thisElement.href + &quot;/gamelog&quot;) */
&lt;br /&gt;/*       //gameLogLink.setAttribute(&quot;class&quot;,&quot;cellindent&quot;) */
&lt;br /&gt;/*       gameLogLink.setAttribute(&quot;target&quot;,&quot;_blank&quot;) */
&lt;br /&gt;/*       gameLogLink.setAttribute(&quot;title&quot;,&quot;game log link&quot;) */
&lt;br /&gt;/*       gameLogLink.innerHTML = &quot;&lt;img src=&quot;\\&quot;&gt;&quot;  */
&lt;br /&gt;/*       thisElement.parentNode.insertBefore(gameLogLink, thisElement.nextSibling.nextSibling); */&lt;/p&gt;

&lt;p&gt;var BENCHBUTTON_ID   = &quot;bencherButton&quot;;
&lt;br /&gt;var BENCHBUTTON_TEXT = &quot;[Bench players with no game]&quot;;&lt;/p&gt;

&lt;p&gt;// create the bench button
&lt;br /&gt;var bencher = document.createElement(&quot;A&quot;);
&lt;br /&gt;bencher.addEventListener(&quot;click&quot;, doBench, true);
&lt;br /&gt;bencher.href = &quot;#&quot;;
&lt;br /&gt;bencher.innerHTML = BENCHBUTTON_TEXT;
&lt;br /&gt;bencher.className = 'button';
&lt;br /&gt;/* bencher.style.backgroundColor = &quot;#D8D9D5&quot;; */
&lt;br /&gt;/* bencher.style.borderTopColor = &quot;#A8A8A8&quot;; */
&lt;br /&gt;/* bencher.style.borderBottomColor = &quot;#A8A8A8&quot;; */
&lt;br /&gt;/* bencher.style.borderLeftColor = &quot;#A8A8A8&quot;; */
&lt;br /&gt;/* bencher.style.borderRightColor = &quot;#A8A8A8&quot;; */
&lt;br /&gt;/* bencher.style.borderTopStyle = &quot;outset&quot;; */
&lt;br /&gt;/* bencher.style.borderBottomStyle = &quot;outset&quot;; */
&lt;br /&gt;/* bencher.style.borderLeftStyle = &quot;outset&quot;; */
&lt;br /&gt;/* bencher.style.borderRightStyle = &quot;outset&quot;; */
&lt;br /&gt;/* bencher.style.borderTopWidth = &quot;1px&quot;; */
&lt;br /&gt;/* bencher.style.borderBottomWidth = &quot;1px&quot;; */
&lt;br /&gt;/* bencher.style.borderLeftWidth = &quot;1px&quot;; */
&lt;br /&gt;/* bencher.style.borderRightWidth = &quot;1px&quot;; */
&lt;br /&gt;bencher.style.paddingTop = &quot;2px&quot;;
&lt;br /&gt;bencher.style.paddingBottom = &quot;5px&quot;;
&lt;br /&gt;bencher.style.paddingLeft = &quot;5px&quot;;
&lt;br /&gt;bencher.style.paddingRight = &quot;5px&quot;;
&lt;br /&gt;bencher.style.color = &quot;#FFFFFF&quot;;
&lt;br /&gt;bencher.id = BENCHBUTTON_ID;&lt;/p&gt;

&lt;p&gt;// attach the bench button right before the &quot;submit changes&quot; button
&lt;br /&gt;// at the bottom of the screen
&lt;br /&gt;var buttonBar = document.getElementById('buttonbar');
&lt;br /&gt;var inputs = buttonBar.getElementsByTagName('input');
&lt;br /&gt;var submitButton = inputs[inputs.length-1]
&lt;br /&gt;buttonBar.insertBefore(bencher, submitButton);&lt;/p&gt;

&lt;p&gt;i tried to mess around with it a little bit but got no luck&lt;/p&gt;

&lt;p&gt;please respond soon&lt;/p&gt;

&lt;p&gt;i will post this on a couple other pages to ensure that you get the message&lt;/p&gt;

&lt;p&gt;Aaron S&lt;/p&gt;</description>
      <pubDate>Sat, 09 Aug 2008 07:48:51 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49955</guid>
      <author>aaron1325714</author>
      <link>http://userscripts.org/posts/49955</link>
    </item>
    <item>
      <title>Archived Comments, replied by Adam606</title>
      <description>&lt;p&gt;Is there anything I could do to be able to get the free update to update the league standings and maybe even the league full standings page?  I think it would be very useful to be able to click on the full standings and watch my progress soar above the rest of the league.  Alright maybe not soar but it would be nice to be able to track my progress instead of having to go into each teams page and go back to see if I changed positions in any category.  Thanks for your hard work.  I love the freebie stats.&lt;/p&gt;</description>
      <pubDate>Wed, 09 Jul 2008 00:09:33 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49956</guid>
      <author>Adam606</author>
      <link>http://userscripts.org/posts/49956</link>
    </item>
    <item>
      <title>Archived Comments, replied by Dave 3</title>
      <description>&lt;p&gt;goldfishes - I haven't worked on that yet.&lt;/p&gt;</description>
      <pubDate>Mon, 07 Jul 2008 00:22:20 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49957</guid>
      <author>Dave 3</author>
      <link>http://userscripts.org/posts/49957</link>
    </item>
    <item>
      <title>Archived Comments, replied by goldfishes</title>
      <description>&lt;p&gt;Hey Dave have you found out a way to make this scoring so that it incorporates the certain stats that your own league uses rather than the standard?&lt;/p&gt;</description>
      <pubDate>Thu, 26 Jun 2008 23:54:27 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49958</guid>
      <author>goldfishes</author>
      <link>http://userscripts.org/posts/49958</link>
    </item>
    <item>
      <title>Archived Comments, replied by DAtaris17</title>
      <description>&lt;p&gt;I could be mistaken. My computer runs fine with the script, but my friend informed me that he believed some of those things came from installing it. Anyway, thanks for the reply Dave, I guess I was incorrect.&lt;/p&gt;</description>
      <pubDate>Mon, 02 Jun 2008 03:52:06 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49959</guid>
      <author>DAtaris17</author>
      <link>http://userscripts.org/posts/49959</link>
    </item>
    <item>
      <title>Archived Comments, replied by Dave 3</title>
      <description>&lt;p&gt;DAtaris17, this script doesn't install spyware or tracking cookies.  Greasemonkey scripts aren't compiled so anyone can view the source code.  For anyone worried about this script, post in the forums or ask a programmer friend to review its safety.  No one has to trust my word....but you should cuz I'm an honest guy plus I link to my personal blog and this script has been installed over 8000 times so that ought to count for something.&lt;/p&gt;</description>
      <pubDate>Sun, 01 Jun 2008 05:46:34 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49960</guid>
      <author>Dave 3</author>
      <link>http://userscripts.org/posts/49960</link>
    </item>
    <item>
      <title>Archived Comments, replied by DAtaris17</title>
      <description>&lt;p&gt;Very useful, but when installed I ended up with spyware and tracking cookies on my computer as a result. I know they came from this because when I got rid of the program and the cookies, they did not return. Is there any reason as to why this is loaded with spyware? The tracking cookies did not affect my computer's performance, but it's not a good idea to have those lurking on your computer.&lt;/p&gt;</description>
      <pubDate>Fri, 30 May 2008 05:39:30 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49961</guid>
      <author>DAtaris17</author>
      <link>http://userscripts.org/posts/49961</link>
    </item>
    <item>
      <title>Archived Comments, replied by Dave 3</title>
      <description>&lt;p&gt;bmooney - email me dave at robobruin.com&lt;/p&gt;</description>
      <pubDate>Tue, 27 May 2008 19:40:30 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49962</guid>
      <author>Dave 3</author>
      <link>http://userscripts.org/posts/49962</link>
    </item>
    <item>
      <title>Archived Comments, replied by b_mooney</title>
      <description>&lt;p&gt;any ideas?&lt;/p&gt;</description>
      <pubDate>Mon, 26 May 2008 22:13:52 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49963</guid>
      <author>b_mooney</author>
      <link>http://userscripts.org/posts/49963</link>
    </item>
    <item>
      <title>Archived Comments, replied by b_mooney</title>
      <description>&lt;p&gt;dave,&lt;/p&gt;

&lt;p&gt;yes, greasemonkey is enabled and right now there's about 7 games going on so i don't understand why the 'show freebie stats' wont show up&lt;/p&gt;</description>
      <pubDate>Thu, 15 May 2008 19:09:55 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49964</guid>
      <author>b_mooney</author>
      <link>http://userscripts.org/posts/49964</link>
    </item>
    <item>
      <title>Archived Comments, replied by Dave 3</title>
      <description>&lt;p&gt;bmooney,&lt;/p&gt;

&lt;p&gt;is greasemonkey on?  click on the monkey icon on the lower right hand side taskbar in firefox to enable it.&lt;/p&gt;

&lt;p&gt;the 'show freebie stats'  link only appears if a game has been completed or is in progress.&lt;/p&gt;</description>
      <pubDate>Wed, 14 May 2008 07:35:07 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49965</guid>
      <author>Dave 3</author>
      <link>http://userscripts.org/posts/49965</link>
    </item>
    <item>
      <title>Archived Comments, replied by b_mooney</title>
      <description>&lt;p&gt;for some reason this script will not work for me. i use firefox, i installed greasemonkey and installed the script but the &quot;Launch Stat Tracker&quot; button is still there...any ideas?&lt;/p&gt;</description>
      <pubDate>Mon, 12 May 2008 09:55:59 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49966</guid>
      <author>b_mooney</author>
      <link>http://userscripts.org/posts/49966</link>
    </item>
    <item>
      <title>Archived Comments, replied by Dave 3</title>
      <description>&lt;p&gt;no updates.  maybe in the next week or two.  hopefully before ARod comes off the DL.&lt;/p&gt;</description>
      <pubDate>Wed, 30 Apr 2008 07:51:25 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49967</guid>
      <author>Dave 3</author>
      <link>http://userscripts.org/posts/49967</link>
    </item>
    <item>
      <title>Archived Comments, replied by goldfishes</title>
      <description>&lt;p&gt;Any update Dave?&lt;/p&gt;</description>
      <pubDate>Sun, 27 Apr 2008 13:18:25 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49968</guid>
      <author>goldfishes</author>
      <link>http://userscripts.org/posts/49968</link>
    </item>
    <item>
      <title>Archived Comments, replied by Dave 3</title>
      <description>&lt;p&gt;hey guys, my goal is to update the script so that it will be smart enough to discover what stats your league uses and then only show those stats.  as soon as I have it ready I'll post it here.&lt;/p&gt;</description>
      <pubDate>Thu, 24 Apr 2008 05:30:11 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49969</guid>
      <author>Dave 3</author>
      <link>http://userscripts.org/posts/49969</link>
    </item>
    <item>
      <title>Archived Comments, replied by gnfishin21</title>
      <description>&lt;p&gt;Dave,&lt;/p&gt;

&lt;p&gt;Awesome work!  I know nothing about writing scripts, but any chance you could add batter K, BB, &amp;amp; 2B?  Better yet, how about adding an option for the user to pick which stats to track?  Thanks again.&lt;/p&gt;</description>
      <pubDate>Tue, 22 Apr 2008 04:07:23 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49970</guid>
      <author>gnfishin21</author>
      <link>http://userscripts.org/posts/49970</link>
    </item>
    <item>
      <title>Archived Comments, replied by LenR</title>
      <description>&lt;p&gt;Cool.
&lt;br /&gt;It would be neat to replace the &quot;Get StatTracker&quot; link too (&lt;a href=&quot;http://us.rd.yahoo.com/evt=50368/*http://baseball.fantasysports.yahoo.com/b1/stattrackerpromo&quot;&gt;http://us.rd.yahoo.com/evt=50368/*http://baseba...&lt;/a&gt; on my page), and better yet, show the stats inline!&lt;/p&gt;</description>
      <pubDate>Fri, 18 Apr 2008 18:05:42 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49971</guid>
      <author>LenR</author>
      <link>http://userscripts.org/posts/49971</link>
    </item>
    <item>
      <title>Archived Comments, replied by Haroldm814</title>
      <description>&lt;p&gt;HI Dave. Thanks for this amazing script it's so helpful! I appreciate the amount of work you put into this, but I was wondering if maybe you could add BB's to the hitters stats? That would be outstanding =]&lt;/p&gt;

&lt;p&gt;Thanks again for a wonderful tool!&lt;/p&gt;</description>
      <pubDate>Wed, 16 Apr 2008 05:58:36 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14293:49972</guid>
      <author>Haroldm814</author>
      <link>http://userscripts.org/posts/49972</link>
    </item>
  </channel>
</rss>
