This counter respects the users privacy.
It counts the visits of pages inside the webbrowsers local storage that is not sent to the webserver (like cookies do).
and their count.
This array will be loaded and saved with the html 5 functions localStorage.getItem([variable]) and localStorage.setItem([variable], [value]).
The big difference to a cookie is: This localStorage is browserinternal. An owner of a website gets none of these data.
Because big companies and social networks try to collect. All they can get;
is limited to the webbrowser only. It respects users privacy. Set a sign!
Old fashioned... isn't it?
As a web programmer ... what I do with it?
Let count the web accesses. React on the 100th, 1000th page view and ask for recommandation. Show a user specific statistic.
If you have some more ideas, let me know.