Skip to content
/ boxscore Public

A Firefox extension to get box score for NBA game highlight videos on YouTube.

Notifications You must be signed in to change notification settings

wykse/boxscore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boxscore

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.

Example

Install

Go to releases.

Usage

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.

Development

Clone repo then

or run

  • web-ext run

TODO

  • Use an API for game IDs
  • Remove css from script and inject css file instead
  • Improve box score style

About

A Firefox extension to get box score for NBA game highlight videos on YouTube.

Topics

Resources

Stars

Watchers

Forks

Packages