Answer the question
In order to leave comments, you need to log in
How to auto-pause music when turning on music in another browser tab?
I noticed that VK Music automatically pauses the playing music if you turn on the video on youtube. Does anyone know how it works?
And I noticed that it works in Chrome, it does not work in Firefox
Answer the question
In order to leave comments, you need to log in
localStorage and write events to it.
This allows you to forward messages to other tabs.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question