-
-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to ignore own profile views? #11
Comments
Hi @ranamahmud! In short: it is impossible. GitHub passes all images URLs through their GitHub Camo proxy service. This means that only GitHub can track personal information, such as visitors User Agent or IP address. Third party cloud service stores only views timestamps and total count of views. |
We can try adding a JavaScript script in the rmd file that'll check the current username in the browser's address bar and if that matches the repo owner's name then it'll exclude the view count. |
We can't add JS, it's a markdown in GitHub. GitHub protects users from such things. Otherwise it will be security issue and people will be able to place tracking cookies. GitHub doing it right. |
Got it. |
Hi @ranamahmud I too got the same idea but now it is cleared . Thanks for clarifying @antonkomarev . |
Thanks for sharing |
Currently, the GitHub profile view counter increases counter by one when a user reloads his GitHub profile page. For more accurate counter it should exclude profile views by the owner of the GitHub repository.
The text was updated successfully, but these errors were encountered: