您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
避免一些网页标题太过“炸裂”导致社死
当前为
// ==UserScript== // @name Title SFW // @namespace http://tampermonkey.net/ // @version 0.0.2 // @description 避免一些网页标题太过“炸裂”导致社死 // @author You // @match https://www.baidu.com/* // @license MIT // ==/UserScript== (function () { 'use strict'; // Replace the title with an empty string or custom content const customTitle = "爱国、敬业、诚信、友善"; // 这里可以填写你想要的标题,比如 "屏蔽标题" document.title = customTitle; // Optional: Prevent future changes to the title const observer = new MutationObserver(() => { if (document.title !== customTitle) { document.title = customTitle; } }); observer.observe(document.querySelector('title'), { childList: true }); })();