Extension for Fantrax that allows fantasy baseball users to view streams and highlights of their players from their league site.

Latest Version

Version
2.1
Update
April 2, 2021
Size
192KiB
Developer
Category
Users
43
Rating
0 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions
Tabs
Https://www.mlb.com/video/search*
Https://www.fantrax.com/fantasy/league/*/livescoring*
Https://www.fantrax.com/fantasy/league/*/team/roster*
See more

Fantrax Baseball Live Feed + Highlights Extension

This is an updated version of the Fantrax Baseball Gameday Extension by Daniel Adams-Meade (me).

This extension allows Fantrax fantasy baseball owners to quickly and easily view live Gameday feeds, video streams, and highlights of their favorite players all from their Fantrax league site. 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. Additionally, player highlights are available at the bottom of the Team Roster page - now you don't have to waste time searching Google/Reddit/MLB for streams and highlights of your team, just one click and you're good!

GitHub URL: https://github.com/Dadamsmeade/Fantrax-Baseball-Live-Feed-Highlights

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/*
2.0: Updated declutter.js, content.js, page formats changed so needed to update. Added video highlights at bottom of Team Roster page (roster.js/video_scrape.js). Updated background.js, changed messaging configuration to optimize script executions. Updated live stream and Gameday feed icons.
2.1: Updated extension to work with most fantasy baseball league formats now (Roto, H2H, Keeper, Re-draft, etc.), added player pitcher highlights on team page.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Fantrax Baseball Live Feed + Highlights", "version": "2.1", "description": "Extension for Fantrax that allows fantasy baseball users to view streams and highlights of their players from their league site.", "background":{ "scripts":["background.js", "jquery.min.js"] }, "content_scripts": [ { "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", "https://www.mlb.com/video/search*", "https://www.fantrax.com/fantasy/league/*/livescoring*", "https://www.fantrax.com/fantasy/league/*/team/roster*" ], "web_accessible_resources": ["icons/*.png"]}
Read more