/AutoBGM

Automatically play and pause your music

Primary LanguageJavaScriptMIT LicenseMIT

AutoBGM

Inspired by OperaGX's music player, AutoBGM brings a similar functionality to chromium. Automatically pause your music when there's another tab playing audio, and resume your music once the other audio stops.

More info and Caveats

Pin the tab that has your music, and continue with your usual browsing. The extension will not affect the music tab if you have the music paused manually.

The extension works by simulating the spacebar, so it will work for every site that can be paused and resumed with the spacebar. Only have one tab pinned otherwise the you may get undesired results.

Installation

  1. Download/clone this repository
  2. Navigate to chrome://extensions
  3. Enable developer mode
  4. Press the Load unpacked button
  5. Select the src folder from the repository you downloaded

Credits