You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 20, 2018. It is now read-only.
The counter keeps on increasing even if the page is refreshed or I visit a different site in the same tab. This should be changed since it easily provides wrong information after few visits to different websites on a single tab.
This can be achieved by maintaining an array of size 2. Once the URL is changed, check the URL of both the elements of the array, if it is same, increase counter, else reset it.
This should also help in cases of web applications like github which perform most of the things in a single page.