dont-track-me-google
dont-track-me-google copied to clipboard
[Suggestion] YouTube support
When clicking a link in the description of any YouTube video, it first redirects you to youtube.com/redirect
and from there to your desired location.
As Google and YouTube belong together it's kind of useless preventing being tracked by google.com but when clicking a link through YouTube they still track you.
It would be nice if this addon could also prevent YouTube from modifying links.
I looked at a random video with a link in the description (https://www.youtube.com/watch?v=y7h_B7UPaYI) and found the following example:
<a class="yt-simple-endpoint style-scope yt-formatted-string" spellcheck="false" href="/redirect?redir_token=[ some long base64-encoded string ]&q=[ url-encoded absolute URL here ]&v=[ video id ]&event=video_description" rel="nofollow" target="_blank" dir="auto">[ absolute URL here ]</a>
I suppose that the logic from my extension is generic enough that it can work for YouTube, with some small modifications.
I'm not going to add this to my extension, however, because it requires a new extension permission (access to youtube). When a new permission is requested, Chrome disables the extension unil the permission change is explicitly approved (and Firefox pauses updates until explicitly approved). There are alternatives (optional permissions + dynamic content scripts), but that incurs some performance cost.
Links in YouTube descriptions are often not the real URLs anyway. They are often shortened links redirecting to the actual destination, loaded with trackers (affiliate links) to support the content creator who published the video.
Can also be extended into removing &si=XXXXXXXX
parameter when sharing it
Also there is the &pp=
parameter when copying links from a search