
Google Chrome now has built-in support for media keys. Unfortunately, Chrome will take over your media keys and prevent them from controlling apps like Spotify when you’re watching YouTube, for example. Here’s how to make Chrome ignore your media keys.
Google Chrome現在已內置了對媒體密鑰的支持。 不幸的是,例如,Chrome在您觀看YouTube時會接管您的媒體密鑰,并阻止它們控制Spotify等應用。 以下是使Chrome忽略您的媒體密鑰的方法。
This same tip also applies to the new Chromium-based Microsoft Edge browser. In both browsers, however, this option requires an experimental flag that may be removed in the future. We tested it in the latest version of Chrome—Chrome 75—on June 24, 2019.
此相同技巧也適用于新的基于Chromium的Microsoft Edge瀏覽器。 但是,在兩種瀏覽器中,此選項都需要一個實驗性標記,以后可能會刪除它。 我們已于2019年6月24日在最新版本的Chrome瀏覽器Chrome 75中對其進行了測試。
You’ll find this option on the chrome://flags
page. Copy the following address, paste it into Chrome’s Omnibox, also known as the address bar, and press Enter:
您可以在chrome://flags
頁面上找到此選項。 復制以下地址,將其粘貼到Chrome的多功能框(也稱為地址欄)中,然后按Enter:
chrome://flags/#hardware-media-key-handling
(In Microsoft Edge, go to edge://flags/#hardware-media-key-handling
?instead.)
(在Microsoft Edge中,改為轉到edge://flags/#hardware-media-key-handling
。)

Click the “Default” box to the right of the Hardware Media Key Handling setting and select “Disabled.”
單擊“硬件媒體密鑰處理”設置右側的“默認”框,然后選擇“禁用”。

You’ll have to restart Chrome (or Edge) before this change takes effect. Click the “Relaunch Now” button that appears to restart your browser.
您必須重新啟動Chrome(或Edge),此更改才能生效。 單擊出現的“立即重新啟動”按鈕以重新啟動瀏覽器。
Chrome (or Edge) will reopen any tabs you had open, but you might lose any saved work on any open web pages, so be sure you’re ready to restart your browser before continuing.
Chrome(或Edge)將重新打開您打開過的所有標簽,但是您可能會丟失所有打開的網頁上已保存的工作,因此請確保在重新開始之前準備好重新啟動瀏覽器。

That’s it! If you change your mind and want hardware media keys working in Chrome (or Edge) again, return here and set the hardware Media Key Handling option back to “Default” once again.
而已! 如果您改變主意并希望硬件媒體密鑰再次在Chrome(或Edge)中工作,請返回此處,并將硬件媒體密鑰處理選項再次設置為“默認”。
翻譯自: https://www.howtogeek.com/426284/how-to-stop-chrome-or-edge-from-taking-over-your-media-keys/