您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
更改网页显示字体
// ==UserScript== // @name 网页字体替换 // @author Cairl // @version 1.3 // @description 更改网页显示字体 // @match *://*/* // @grant none // @namespace https://greasyfork.org/users/241490 // ==/UserScript== (function() { 'use strict'; // 自定义字体名称 const customFont = ''; // 添加 CSS 样式以覆盖页面字体 const style = document.createElement('style'); style.innerHTML = ` html, body, p, h1, h2, h3, h4, h5, h6, div, li, input, textarea { font-family: '${customFont}' !important; font-weight: bold !important; /* 加粗字体 */ } `; document.head.appendChild(style); })();