how to display a counter after open new website with window.open() or any other method
if I click on a button it will open a new browser tab and run a website. I want to set up a counter so that user can see how many times he spend.Counter should display only after open new website with button I had clicked.