I need to detect if specific tab is active in the safari browser(PC), so I use visibilitychange event. This method works in all but one case. When tab is changed via "Show tab overview", visibilitychange event is not triggered. How can I detect that tab is changed in this case?
The "Show tab overview" button refers to the upper right-hand icon of the browser.