您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
YouTube - Open Playlist of Uploaded Videos.
当前为
// ==UserScript== // @name YouTube - Open Playlist of Uploaded Videos // @description YouTube - Open Playlist of Uploaded Videos. // @version 0.3 // @author to // @namespace https://github.com/to // @license MIT // // @noframes // @match https://www.youtube.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com // // @grant GM_registerMenuCommand // @grant GM_openInTab // @grant unsafeWindow // ==/UserScript== GM_registerMenuCommand('Open Playlist of Uploaded Videos', () => { let channelId; // 個別ページか? if (unsafeWindow.ytInitialPlayerResponse) { channelId = unsafeWindow.ytInitialPlayerResponse.videoDetails.channelId; } else { try { channelId = document.querySelector('link[rel="canonical"]').href.match(/channel\/(.+)/)[1]; } catch { alert('This is not the intended page.'); return; } } GM_openInTab('https://www.youtube.com/playlist?list=UU' + channelId.slice(2)); }); if (unsafeWindow.ytInitialPlayerResponse) { // 開いている動画よりも新しいものへ向かって連続再生する GM_registerMenuCommand('Play Newer Videos', () => { location.href = `https://www.youtube.com/watch?v=${unsafeWindow.ytInitialPlayerResponse.videoDetails.videoId}&list=UL01234567890`; }); }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址