您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A fixed control bar fork of CY Fung's Facebook Reel: Video Controls.
// ==UserScript== // @name Facebook Reel: Video Controls Fork // @namespace UserScript // @match https://www.facebook.com/* // @version 0.1.2 // @license MIT // @author CY Fung | fork by ArminC // @description A fixed control bar fork of CY Fung's Facebook Reel: Video Controls. // @run-at document-start // @grant none // @unwrap // ==/UserScript== document.addEventListener('play', (evt) => { const target = (evt || 0).target; if (target instanceof HTMLVideoElement && !target.hasAttribute('controls') && location.href.includes('reel')) { let buttonLayer = target.closest('div[class][role="button"][tabindex]'); if (buttonLayer) { target.setAttribute('controls', ''); setTimeout(() => { Object.assign(target.style, { 'position': 'relative', 'zIndex': 999, 'pointerEvents': 'all' }); [...buttonLayer.querySelectorAll('.x10l6tqk.x13vifvy:not(.x1m3v4wt)')].forEach(s => { Object.assign(s.style, { 'pointerEvents': 'none', 'position': 'relative', 'zIndex': 1000 }); }); }, 1); } } }, true);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址