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

Remove trackers from links #768

Closed
Nutomic opened this issue Jun 2, 2020 · 4 comments
Closed

Remove trackers from links #768

Nutomic opened this issue Jun 2, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@Nutomic
Copy link
Member

Nutomic commented Jun 2, 2020

Lemmy could automatically remove things like utm parameters and rewrite AMP links. Maybe we could also add a user option to redirect youtube links to invidious, twitter to nitter etc.

Previously discussed here


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Nutomic Nutomic added the enhancement New feature or request label Jun 2, 2020
@dessalines
Copy link
Member

dessalines commented Jun 2, 2020

ClearUrls looks like the most popular tracker remover for firefox. If it had a simple js library that was function removeTrackers(url: String): String, then this would be very easy.

https://gitlab.com/KevinRoebert/ClearUrls/-/issues/536

@Nutomic
Copy link
Member Author

Nutomic commented Jun 2, 2020

It should be done in Rust imo, but I guess js is better than nothing.

@bytesnake
Copy link
Contributor

For the utm parameters a simple regex (or even a split and join) should suffice, but I don't know how AMP links are handled

@pefimo
Copy link

pefimo commented Feb 24, 2021

Projekt:ONI provides a browser extension called WhatCampaign that overwrites utm_* URL parameters. Maybe that could be used as a starting point too?

dessalines added a commit that referenced this issue Jun 24, 2021
Remove tracking params from post url (fixes #768)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants