您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Change website font to Google Sans Text
// ==UserScript== // @name Change Website Font // @namespace http://tampermonkey.net/ // @version 0.2 // @description Change website font to Google Sans Text // @author Your Name // @match *://* // @grant GM_addStyle // @license MIT // ==/UserScript== (function() { 'use strict'; GM_addStyle(` @font-face { font-family: 'Google Sans Text'; src: url('https://fonts.gstatic.com/s/googlesanstext/v16/5aUu9-KzpRiLCAt4Unrc-xIKmCU5qEp2iw.woff2') format('woff2'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Google Sans Text'; src: url('https://fonts.gstatic.com/s/googlesanstext/v16/5aUp9-KzpRiLCAt4Unrc-xIKmCU5oPFTnmhjtg.woff2') format('woff2'); font-weight: bold; font-style: normal; } body { font-family: 'Google Sans Text', sans-serif !important; } b, strong { font-weight: bold !important; } `); })();