Drag this onto your bookmarks bar:
3ICE's Youtube Link Optimizer / Cleaner / Shortener / Tracking Remover
Source code for those interested:
javascript:(function(){var l=document.createElement("style");
l.type="text/css";l.innerHTML="a:visited{color:#551A8B;}";
document.getElementsByTagName("head")[0].appendChild(l);
var a=document.getElementsByTagName('a');
for(var i=0;i<a.length;i++){
if(a[i].href.substr(0,32)=="https://www.youtube.com/watch?v=" &&
a[i].href.length>43&&a[i].href.substr(43,1)!="#"){
a[i].href=a[i].href.substr(0,43);}}})();
January 12th, 2020 at 11:26 pm
Test links from the userscript version (https://userscripts-mirror.org/scripts/show/86758).
Ugly URL examples:
https://www.youtube.com/watch?v=1rnfE4eo1bY&feature=related
https://www.youtube.com/watch?v=1rnfE4eo1bY&playnext=1&videos=1rnfE4eo1bY&feature=mfu_in_order
Clean URL example:
https://www.youtube.com/watch?v=1rnfE4eo1bY
February 13th, 2020 at 3:00 pm
Works best on:
https://www.youtube.com/feed/subscriptions?disable_polymer=true
(Can add &disable_polymer=true to the end of other URLs as well, works everywhere.)
I sometimes need to load over a 1000 videos from my subscriptions, if I haven't been online for a while. The new UI, called polymer, lags like hell after 10 pages. Classic never lags. So I always manually set "disable polymer" to true.
I've gone over 3000 videos once, to test. (A whole months' worth of videos.) Not even a GB of RAM was eaten by Chrome and that massive tab stayed alive for weeks (until I had to reboot.)
February 13th, 2020 at 3:04 pm
Userscript version:
http://download.3ice.hu/3ICEsYoutubeLinkOptimizerCleanerShortenerTrackingRemover.user.js
Source code (is above as well, but here's a nice pic of it):
http://img.3ice.hu/3ICEsYoutubeLinkOptimizerCleanerShortenerTrackingRemover.user.js.png
3ICE's Youtube Link Cleaner / Optimizer / Shortener / Tracking Remover
By 3ICE — Last update Jul 24, 2011 — Installed 17,767 times.
Reviews 7
Discussions 20
Fans 25
Script Summary: Removes the annoying tracking parameter called "feature" from links on YouTube. (&feature=related and ~25 others) All your YouTube links will follow the same pattern. No unnecessary information in URLs.
Version: 3.333
[Remotely hosted version]
[Script homepage](http://3ice.hu/)
[Screenshot (real, big, awesome, source code, older version 3.3)]
Remove tracking parameter from YouTube.
Shorten YouTube URLs.
Clean YouTube URL.
Uniform YouTube links.
New in 3.333: Added (and subsequently fixed) support for the https protocol. Thanks to ranch2thedressing for reporting the issue and thanks to derula for spotting the mistake in my implementation. He rewrote my script (with my permission of course) to handle parameters better, you can find his version -here-.
New in 3.33: Link colors are forced to be blue by default, purple when visited.
This helps you skip (or just keep track of) videos you have already seen. And you will be able to tell when YouTube incorrectly marks random videos as "Watched".
Made by Daniel "[3ICE](http://3ice.hu/)" Berezvai. Thanks to Mewes Kochheim.
Google Chrome users can install the [Remotely hosted version] to fix the ugly name (86758.user.js).
Full list of removed items: aso, channel, chclk, dka, featured, feedlik, feedrec_grec_index, feedrec_grec_index_more, feedu, fvhl, fvhr, fvsr, fvwk, geo, grec_index, mh, mhum, more_related, popular, related, spotlight, sub, topvideos, watch_response, watch_response_rev, eurl
this script has 7 topics, 20 posts
Tags
annoyance annoying channel clean feature featured fix geo google grec_index link popular related remove shorten spotlight sub tracking url youtube
Other Scripts by Author:
3ICE's Google Chrome Options Left Side Menu Resizer
3ICE's Remove tracking from Google search results
3ICE's 100000th Script
3ICE's 99999th Script
February 13th, 2020 at 5:28 pm
Useful tidbit for forcing channel URLs to go to a user's list of videos (Instead of the stupid channel trailer):
var a=document.getElementsByTagName('a');
for(var i=0;i<a.length;i++){
if(a[i].href.substr(0,32)=="https://www.youtube.com/channel/"){
a[i].href=a[i].href+"/videos";}}
Works in the youtube sidebar itself, on your subscriptions overview page, and even inside videos.