Skip to content

Instantly share code, notes, and snippets.

@epitron
Created September 25, 2013 05:18
Show Gist options
  • Save epitron/6695425 to your computer and use it in GitHub Desktop.
Save epitron/6695425 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name YouTube: Click a username and see their videos!
// @namespace http://github.com/epitron/
// @version 0.1
// @description When you click a username, instead of seeing that lame youtube user's "summary" page, you get their actual list of videos (sorted by date).
// @include /^https?://(?:www\.)?(?:youtube\.com)/.*/
// @copyright 2013 epitron
// ==/UserScript==
(function() {
var userlinks = document.getElementsByClassName("yt-user-name");
for (var i = 0; i < userlinks.length; i++) {
userlinks[i].pathname += "/videos";
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment