Skip to content

YouTube userscript to remove tracking parameters from share URLs

License

Notifications You must be signed in to change notification settings

xenorio/YTShareAntiTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Development has shifted to the TubeTweaks extension, with more features and better performance. YTShareAntiTrack will only receive updates if something breaks.

YTShareAntiTrack

YouTube userscript to remove tracking parameters from share URLs

Explanation

Recently, YouTube started adding a tracking parameter to their share URLs, when using the "share" button on a video. With this, they can track who is sharing videos with who, and under some circumstances even how they are shared.

Example

This userscript removes any tracking parameters from this box, allowing you to safely copy the link without needing to manually modify it.

Example

Installation

First, you need a userscript manager. This script should work with any manager, but is only being tested on Violentmonkey.

Once you have a manager, install YTShareAntiTrack by clicking here.

Additional Measures

This script only prevents you from accidentally sharing trackable links. It does not (and cannot) prevent you from loading trackable links which have been shared with you.

However, you can prevent this via a custom rule in uBlock: ||youtube.com^$removeparam=si