Skip to content
This repository was archived by the owner on Sep 20, 2018. It is now read-only.
This repository was archived by the owner on Sep 20, 2018. It is now read-only.

Counter keeps on updating on URL Change or Page Refresh #4

@blueelvis

Description

@blueelvis

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.

What say?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions