{"id":52,"date":"2005-09-08T14:01:55","date_gmt":"2005-09-08T21:01:55","guid":{"rendered":"http:\/\/outflux.net\/blog\/archives\/2005\/09\/08\/greasemonkey-and-fantasy-football\/"},"modified":"2006-04-09T20:21:37","modified_gmt":"2006-04-10T04:21:37","slug":"greasemonkey-and-fantasy-football","status":"publish","type":"post","link":"https:\/\/outflux.net\/blog\/archives\/2005\/09\/08\/greasemonkey-and-fantasy-football\/","title":{"rendered":"greasemonkey and fantasy football"},"content":{"rendered":"<p><a href=\"http:\/\/en.wikipedia.org\/wiki\/Fantasy_football_%28American%29\">Fantasy Football<\/a> isn&#8217;t something I have any idea how to play, but I thought I&#8217;d join a few friends in their league, since they seemed to have so much fun with it.  It&#8217;s through Yahoo, and is pretty nifty.  I&#8217;m slowly learning how to play, but I doubt I&#8217;ll ever be any good considering how much I don&#8217;t watch football.  In the Yahoo interface, however, to evaluate a player&#8217;s depth (first string, second string, etc.) I have to click on the player, then the team, then the &#8220;Depth chart&#8221; link.  This was annoying, so it was a perfect opportunity to learn some more javascript, xpath, and DOM manipulation.  As a result, I wrote a <a href=\"http:\/\/greasemonkey.mozdev.org\/\">greasemonkey<\/a> script to <a href=\"http:\/\/outflux.net\/greasemonkey\/yahoo-nfl-teams.user.js\">add team links<\/a> where ever a team abbreviation is seen.<\/p>\n<p style='text-align:left'>&copy; 2005 &#8211; 2006, <a href=\"https:\/\/outflux.net\/blog\/\">Kees Cook<\/a>. This work is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">Creative Commons Attribution-ShareAlike 4.0 License<\/a>.<br \/><a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\"><img decoding=\"async\" alt=\"CC BY-SA 4.0\" style=\"border-width:0\" src=\"https:\/\/i.creativecommons.org\/l\/by-sa\/4.0\/88x31.png\" \/><\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fantasy Football isn&#8217;t something I have any idea how to play, but I thought I&#8217;d join a few friends in their league, since they seemed to have so much fun with it. It&#8217;s through Yahoo, and is pretty nifty. I&#8217;m slowly learning how to play, but I doubt I&#8217;ll ever be any good considering how [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"_links":{"self":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/52"}],"collection":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/comments?post=52"}],"version-history":[{"count":0,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/52\/revisions"}],"wp:attachment":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/media?parent=52"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/categories?post=52"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/tags?post=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}