您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
UserCSS example
/* ==UserStyle== @name 思源黑體分割 @description UserCSS example @namespace https://github.com/abc0922001 @author abc0922001 @version 0.6.2 @license MIT ==/UserStyle== */ @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+HK:[email protected]&family=Noto+Sans+JP:[email protected]&family=Noto+Sans+KR:[email protected]&family=Noto+Sans+Mono:[email protected]&family=Noto+Sans+SC:[email protected]&family=Noto+Sans+TC:[email protected]&display=swap"); /* 根據語系切換 Sans 主字體 */ [lang="zh-CN" i], [lang="zh" i], [lang="zh-hans" i] { --noto-sans: "Noto Sans SC"; } [lang="ko" i] { --noto-sans: "Noto Sans KR"; } [lang="ja" i], [lang="jp" i] { --noto-sans: "Noto Sans JP"; } [lang="zh-HK" i] { --noto-sans: "Noto Sans HK"; } [lang="zh-TW" i], [lang="zh-hant" i] { --noto-sans: "Noto Sans TC"; } /* 預設語言:繁體中文 */ html { --noto-sans: "Noto Sans TC"; --noto-mono: "Noto Sans Mono"; } /* 一般文字,支援字重變化 */ :not([class*="icon"]):not(i) { font-family: var(--noto-sans), sans-serif !important; font-variant: no-common-ligatures proportional-nums; font-optical-sizing: none; font-kerning: none; -webkit-font-smoothing: antialiased !important; text-rendering: optimizeSpeed !important; } /* 程式碼區塊使用等寬字體(Noto Sans Mono) */ pre, code { font-family: var(--noto-mono), Consolas, "Courier New", monospace !important; }