YouTube View More Uploader Videos

See a sleek list of additional videos from the same user that have been uploaded from within your video player.

目前為 2017-09-04 提交的版本,檢視 最新版本

// ==UserScript==
// @name YouTube View More Uploader Videos
// @namespace YVMUV
// @description See a sleek list of additional videos from the same user that have been uploaded from within your video player.  
// @version 13.0
// @include http://www.youtube.com/*
// @include https://www.youtube.com/*
// @author  drhouse
// @icon    https://s.ytimg.com/yts/img/favicon-vfldLzJxy.ico
// ==/UserScript==

$(document).ready(function () {
	setTimeout(function() {
		var theurl = document.URL;
		var links = document.getElementById('content').getElementsByTagName('a');

		if (location.href.toString().indexOf("list") == -1 && parent.location.href.toString().indexOf("watch") != -1 && parent.location.href.toString().indexOf("feed") == -1 && parent.location.href.toString().indexOf("watch_") == -1)
			window.location.href = (theurl + "&list=UL&");

		for(var i=0 ; i<links.length ; i++){
			if (links[i].href.toString().indexOf("watch") != -1 && links[i].href.toString().indexOf("list") <= -1 && links[i].href.toString().indexOf("feed") == -1 && links[i].href.toString().indexOf("watch_") == -1)
				links[i].setAttribute('href', links[i].getAttribute('href').split('&')[0] + '&list=UL&');
		}
	}, 3000);
});

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址