Extension for Fantrax that allows fantasy baseball users to view streams of their players from the Live Scoring page.
Fantrax Baseball Gameday Extension Extension
This extension allows Fantrax fantasy baseball owners to quickly and easily navigate to their favorite players' MLB Gameday feeds and video streams from the Live Scoring section of their Fantrax FB league page, all without the annoyance of ads (or subscriptions). Once the extension is added, two small icons should appear next to each player's name on the Live Scoring page - the camera icon links to that player's live stream, and the field icon links to that player's MLB.com Gameday feed. Now you don't have to waste time searching Google/Reddit for streams of your players every time you want to watch an at-bat, just one click and you're good!
CHANGELOG:
1.1: Changed Washington Nationals abbreviation from \"WAS\" to \"WSH\"
1.2: Updated URL change for foodexsport streaming service used for declutter.js
1.3: Updated content.js, page format changed and broke my code so needed to update
1.4: Updated URL string for Arizona Diamondbacks from \"diamondbacks\" to \"d-backs\"
1.5: Added MLB Gameday icon next to video stream icon that links to the MLB Gameday page for each player's team
1.5.1: Bug fix for the Live Scoring page, icons weren't showing up on the Period setting
1.5.2: Video streaming URL changed from foodexsports.com to volokit.com, updated code to recognize that
1.5.3: Video streaming URL changed from volokit.com/mlb-games/* to volokit.com/volostream/mlb-games/*
Read more
CHANGELOG:
1.1: Changed Washington Nationals abbreviation from \"WAS\" to \"WSH\"
1.2: Updated URL change for foodexsport streaming service used for declutter.js
1.3: Updated content.js, page format changed and broke my code so needed to update
1.4: Updated URL string for Arizona Diamondbacks from \"diamondbacks\" to \"d-backs\"
1.5: Added MLB Gameday icon next to video stream icon that links to the MLB Gameday page for each player's team
1.5.1: Bug fix for the Live Scoring page, icons weren't showing up on the Period setting
1.5.2: Video streaming URL changed from foodexsports.com to volokit.com, updated code to recognize that
1.5.3: Video streaming URL changed from volokit.com/mlb-games/* to volokit.com/volostream/mlb-games/*
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Fantrax Baseball Gameday Extension", "version": "1.5.3", "description": "Extension for Fantrax that allows fantasy baseball users to view streams of their players from the Live Scoring page.", "background":{ "scripts":["background.js"] }, "content_scripts": [ { "matches": [ "https://www.fantrax.com/fantasy/league/*" ], "js": ["content.js", "jquery.min.js"] }, { "matches": [ "http://www.foodexsport.com/sport/*", "http://www.foodexsport.com/mlb-games/*", "http://www.volokit.com/mlb-games/*", "http://www.volokit.com/volostream/mlb-games/*" ], "js": ["declutter.js"] } ], "permissions": [ "tabs" ], "web_accessible_resources": ["icons/*.png"]}
Read more