您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically unmutes autoplayed videos on X
// ==UserScript== // @name X Auto-Unmute Videos // @namespace m19.ca // @version v1 // @description Automatically unmutes autoplayed videos on X // @author m19.ca // @match https://x.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=x.com // @license MIT // @homepageURL https://github.com/M19-ca/auto-unmute-x-com-userscript // ==/UserScript== (() => { const bind = v => { if (v._autoUnmuteBound) return; v._autoUnmuteBound = true; v.addEventListener('play', () => { v.muted = false; v.volume = 1; }); }; new MutationObserver(records => { for (const record of records) { for (const node of record.addedNodes) { if (node.tagName === 'VIDEO') bind(node); else if (node.querySelectorAll) { node.querySelectorAll('video').forEach(bind); } } } }).observe(document.body, { childList: true, subtree: true }); document.querySelectorAll('video').forEach(bind); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址