How can I trigger an event when returning to a tab?
For instance: Let's say I have opened four tabs in the same browser with the same URL:
such as: http://127.0.0.1:/blabla
http://127.0.0.1:/blabla
http://127.0.0.1:/blabla
http://127.0.0.1:/blabla
If I switch from one tab to another, I don't want any events triggered. However, when I return to a specific tab, I want to trigger an event to refresh the page.
The goal is that when I go back to the http://127.0.0.1:/blabla
tab, the page should automatically reload, and nothing more.