A Firefox extension to get box score for NBA game highlight videos on YouTube.
Extension works for game highlights from NBA's YouTube channel. The reason for this is because the title is used to validate the video is an NBA game before fetching the stats.
The extension only provides box scores for 2022-2023 regular season games because the game IDs are hard coded at this time.
Go to releases.
Click on the orange Box Score
button to toggle the box score on and off. The button is only available on YouTube for videos matching NBA's video naming format.
Clone repo then
- Temporarily load a web extension from a directory on disk
or run
web-ext run
- Use an API for game IDs
- Remove css from script and inject css file instead
- Improve box score style