title: Can I somehow detect the event, when a browser tab is being closed, from another tab?
body: <p>Think of a webpage that has a list of website links. When I click on a website, the website opens in another tab and a timer starts counting the time. This time counting should end when I am closing the tab of previously opened website. <br>
  (Sounds weird?!)<br>
  I have tried searching over internet for a long time, but everywhere I get the answers for &quot;Detect browser or tab closing while staying in the same tab&quot;, and this has nothing to do with another tab.<br>
  I am trying to make connection across tabs, so that, I can stop the time counting automatically when a tab is being closed.<br>
  <strong>Any kind of help will be appreciated</strong> :)</p>