38.1k5454 gold marks222222 silver marks438438 bronze marks
3811 silver mark55 bronze marks
1 answer 1
In VK, this is implemented through localstorage. What a perversion "to find out where the player is playing to run through all the tabs." When you turn on your player - save the value "on". When writing to the localstorage variable values "off." - turn off the player.