您需要先安装一个扩展,例如 篡改猴、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.0 // @author - // @description 7/11/2025, 11:02:20 AM // @license MIT // ==/UserScript== (function () { "use strict"; function zap() { document.querySelector('#screen-root > div > div.m.fixed-container.bottom')?.remove(); } zap(); const observer = new MutationObserver(() => zap()); 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(zap); return ret; }; }); })();