Preventing Google Chrome from Hijacking Your Media Keys

Thursday, 31 March 2022

Chrome likes to steal your media keys - the play/pause buttons on your keyboard and then map them through to YouTube, or similar media. This is regardless of if Chrome has focus, or if the tab has focus - you can have a paused YouTube window in the background, want to pause your music via Spotify, hit the pause button on your keyboard… and suddenly you have Spotify still playing, and the YouTube video.


To stop that from happening Chrome has a setting that you can toggle to disable this:


Copy that URL into the address bar, switch the setting from default, to disabled, and then reopen Chrome.

I’m documenting this here because every nine months (or so) I forget this, and need to look it up.

Post changelog

Back to all posts