您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
I usually listen music on YT in 144p to preserve traffic. But when I'm switching to Shorts I'm unable to change quality settings (in desktop Chrome). This script clears quality setting
// ==UserScript== // @name YouTube Drop Quality Settings For Shorts // @namespace https://greasyfork.org/en/users/1413127-tumoxep // @version 1.0 // @description I usually listen music on YT in 144p to preserve traffic. But when I'm switching to Shorts I'm unable to change quality settings (in desktop Chrome). This script clears quality setting // @license WTFPL // @match https://www.youtube.com/* // @grant none // ==/UserScript== (function() { 'use strict'; const observer = new MutationObserver(function(mutations) { if (!localStorage.getItem("yt-player-quality")) { return; } if (location.href.includes("/shorts/")) { localStorage.removeItem("yt-player-quality"); } }); const config = {subtree: true, childList: true}; observer.observe(document, config); })();