您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
7/11/2025, 11:02:20 AM
当前为
// ==UserScript== // @name Remove 'Open app' bar // @namespace Violentmonkey Scripts // @match *://*.facebook.com/* // @grant none // @version 1.1 // @author - // @description 7/11/2025, 11:02:20 AM // @license MIT // ==/UserScript== (function () { "use strict"; function removeRobotoV2() { const elements = document.querySelectorAll('.native-text'); elements.forEach(el => { el.style.fontFamily = el.style.fontFamily .split(',') .filter(f => f.trim() !== 'Roboto-V2') .join(', '); }); } function zap() { document.querySelector('#screen-root > div > div.m.fixed-container.bottom')?.remove(); } function fixAll() { removeRobotoV2(); zap(); } fixAll(); const observer = new MutationObserver(() => fixAll()); observer.observe(document.documentElement, { childList: true, subtree: true, }); ['pushState', 'replaceState'].forEach(fn => { const orig = history[fn]; history[fn] = function (...args) { const ret = orig.apply(this, args); Promise.resolve().then(fixAll); return ret; }; }); })();