YouTube
https://gyazo.com/c22c4c40a1bc455ada5bbea35d65792c
https://i.ytimg.com/vi/[VIDEO_ID]/mqdefault.jpg
關閉縮圖預覽功能
聊天室popout
查看會員限定影片一覽
將頻道主頁面網址的channel/UC更改為playlist?list=UUMO
取得ID
$ javascript:(()=>{ window.location.href = https://www.youtube.com/playlist?list=UUMO${document.querySelector("link[rel='canonical']").href.split("channel/")[1].substring(2)} })();
查詢影片資訊
調整YouTube聊天室擷取的CSS成Line風格
連動聊天室投票結果至畫面上
自動抓取聊天室網址
後方加上頻道網址
會以正在直播中的影片為優先
預設會抓取最後一個影片的聊天室
擷取會員限定直播的聊天室
瀏覽器來源
1. 新增瀏覽器來源
https://www.youtube.com/
2. 右鍵→「互動」→登入
3. 將網址改為會員限定的聊天室
layout.css.has-selector.enabled
$ javascript:(()=>{let copyListener = e =>{document.removeEventListener('copy',copyListener,true);e.preventDefault();let clipboardData = e.clipboardData;clipboardData.clearData();let str = '';for (a of ...document.querySelectorAll('#wc-endpoint')){ str += a.href.split('&')0; str += '\n'; };clipboardData.setData("text/plain", str);};document.addEventListener('copy',copyListener,true);document.execCommand('copy');})(); 依觀看數排序影片
code:javascript
javascript:(function(){window.location=window.location.href + "?view=0&sort=p&flow=grid%22;})();