To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web!Close
Welcome to Firefox Add-ons.
Choose from thousands of extra features and styles to make Firefox your own.Close
Autosort Future Lineups - Yahoo Fantasy Sports 22.214.171.124-signed.1-signed
Sort players by rank in one or more Yahoo fantasy leagues.
About this Add-on
Works with Yahoo fantasy basketball, fantasy hockey, and fantasy baseball. Determines the best lineup. Sort one or more leagues at once. Sort one or more days at once.
Rankings are selected from "Actual Rankings" on the "My Team" page. Rankings from "Rankings (Average Stats)" are not used.
After determining best line-up for a selected team on a selected day, program will update the selected team's roster for that day.
For selected day(s), program performs a cartesian product of every available player (player with an opponent on selected day), and every available player's possible roster position (i.e. PG, G, SG). For every resulting line-up the program makes a sum for that line-up's ranking (i.e. player 1 combined 7-day/14-day ranking = 10, player 2 combined 7-day/14-day ranking = 50, so line-up sum would be 60 points). As players are ranked in ascending order from best to worst, i.e. best player is 1, worst player is in the 500s, the line-up with the lowest combined ranking will be chosen. However, the program first selects the line-up with the most possible roster positions filled.
There are three options for automatically benching players in Rotisserie leagues: 1) if a player is injured, 2) if a player is not active, and 3) if a player has a rank above a user-set threshold.
Program has been tested using browsers: Mozilla Firefox, Google Chrome.
HOW TO RUN THE PROGRAM:
1. Navigate to the Yahoo fantasy basketball or Yahoo fantasy hockey homepage. Any of the following:
Script adds "Sort Rosters" link to this page. Click on link to start program.
2. Click "Sort Rosters" link. Program has "Close Window!" button to close the program and return to the homepage.
3. Select settings.
Optional: Use "Save Current Settings" to save Penalty, Weighting, Time Period, Rotisserie, and League settings.
Optional: Use "Reset Settings to Default Settings" to revert to default Penalty, Weighting, Time Period, Rotisserie, and League settings.
4. Select one or more leagues.
5. Click "Run!"
Was this script helpful? Send some vegetables today! ;) https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UQBHY6Y3Y67XA
1.4.6 -- Nov. 05, 2013 -- Update to restartless. Update to match Yahoo layouts.
1.4.5 -- Oct. 21, 2013 -- Update to use Yahoo's new layout for 2013-2014 basketball and hockey leagues.
Jun. 9, 2013: Added improvements to the sorting algorithms.
Mar. 3, 2013: For all leagues: added IR (hockey), DTD (hockey), and DL (baseball) to players receiving the "injured" penalty. For rotisserie leagues: added IR (hockey), DTD (hockey), and DL (baseball) to players considered "injured".
Feb. 26, 2013: More updates for Yahoo's new fantasy hockey layout.
Feb. 24, 2013: Changed program to edit rosters on days where some games have already begun.
Feb. 23, 2013: Added compatibility for Yahoo fantasy baseball.
Feb. 22, 2013: Yahoo updated their HTML layout for the homepage of fantasy hockey. Made an update for this.
Jan. 27, 2013: Added options for Rotisserie leagues.
Jan. 22, 2013: If an owner places a player on Injured Reserve the player will now no longer be added back to the roster (even if there are open roster positions).
Jan. 22, 2013: Occasionally one league was not displayed. Fixed.
Jan. 20, 2013: In some cases rosters were being left empty. Fixed.
Jan. 17, 2013: Fixed small bug where utility positions were not being filled.
Jan. 13, 2013: Added compatibility for Yahoo fantasy hockey. Made additions to deducing possible lineups to help avoid gigantic Cartesian products--looks successful! Removed "Start Active Players" so that every day is now optimized.
Jan. 9, 2013: Added back optimizing starting rosters on days when some starting positions remain empty. This was previously removed.
NOTE: Results not guaranteed, use at your own risk! This program will alter your future lineups.
Last updated: Nov. 5, 2013