Skip to content

Chrome extension that adds keyboard shortcuts to play, pause, next, previous (and more) on Spotify Web.

License

Notifications You must be signed in to change notification settings

zopieux/spotify-hotkeys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Web Player Hotkeys

Install from Chrome Web Store

Install from Chrome Web Store

Adds the following default keyboard shortcuts to https://open.spotify.com:

  • Play/Pause media key: play, pause – opens a Spotify tab Spotify if necessary!
  • Previous media key: previous track
  • Next media key: next track

There is no default shortcut, but you can also bind keys for:

  • Navigating to the home page or the search page – opens a Spotify tab if necessary!
  • Toggle shuffle
  • Toggle repeat (single song, whole playlist, disabled)
  • Toggle song like (since 2024, requires focusing the browser tab)
  • Toggle showing the queue sidebar
  • Toggle showing "now playing" sidebar
  • Toggle showing lyrics
  • Increase, decrease & mute volume
  • Seek backward & forward in both songs (±5 seconds) and podcasts (±15 seconds)

You can customize these shortcuts and make them global hotkeys (not just while displaying Spotify) by opening chrome://extensions/shortcuts or clicking the extension icon.

Warning: Chrome/Chromium is known to not correctly register hotkeys after you've changed them in chrome://extensions/shortcuts. Please restart your browser by visiting chrome://restart after changes to shortcuts/hotkeys.

This extension relies on the HTML/CSS structure of the website. Spotify might break it by changing their frontend.

The code is short and simple.

License

MIT.

Thanks!

I'd like to thank GitHub users:

About

Chrome extension that adds keyboard shortcuts to play, pause, next, previous (and more) on Spotify Web.

Resources

License

Stars

Watchers

Forks