Skip to content
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

Removing referrer header when clicking on links #387

Closed
TechClusterHQ opened this issue Sep 11, 2024 · 2 comments
Closed

Removing referrer header when clicking on links #387

TechClusterHQ opened this issue Sep 11, 2024 · 2 comments

Comments

@TechClusterHQ
Copy link

It would be great if there was an option to remove the "referrer" header when clicking on bookmarks. Currently, you can be traced back to your instance of hoarder using the header. An option to add a prefix url (like https://anonym.es) to all urls (only when viewing them on the homepage) would be a good solution for this problem.

@kamtschatka
Copy link
Collaborator

how about adding rel="noreferrer" instead? https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/noreferrer

@kamtschatka
Copy link
Collaborator

Tried it out and it works fine if you click on the image on the dashboard, but does not work when clicking on the image(i guess that is what you mean with "only when viewing them on the homepage"), when you are showing the details of the bookmark, because this requires the target="_blank" attribute.
We could either:

  • add that attribute and have all the links open in a new tab (which i personally prefer)
  • apparently using javascript to navigate also works

I am not really a fan of adding a prefix URL, as it makes you dependent on e.g. "anonym.es" to keep your data private....

kamtschatka added a commit to kamtschatka/hoarder-app that referenced this issue Sep 11, 2024
added "noreferrer" to the links to prevent sending referrers to bookmarked pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants