// ==UserScript== // @name Claude Chinese Font Fix // @name:zh-CN Claude 中文字体修复 // @namespace https://github.com/clath-org/claude-chinese-font-fix // @version 1.0.0 // @description Fix Chinese characters rendering with Japanese font on Claude.ai by prioritizing Chinese serif fonts (Noto Serif SC / Songti SC) over Hiragino Sans in the font stack. // @description:zh-CN 修复 Claude.ai 上中文显示为日文字型的问题,将中文衬线字体(Noto Serif SC / 宋体-简)优先级提升至 Hiragino Sans 之前。 // @author Clath // @match https://claude.ai/* // @grant GM_addStyle // @license MIT // @homepageURL https://github.com/clath-org/claude-chinese-font-fix // @supportURL https://github.com/clath-org/claude-chinese-font-fix/issues // @downloadURL none // ==/UserScript== (function() { 'use strict'; GM_addStyle(` :root { --font-anthropic-serif: "Anthropic Serif", Georgia, "Arial Hebrew", "Noto Sans Hebrew", "Times New Roman", Times, "Noto Serif SC", "Songti SC", "Hiragino Sans", "Yu Gothic", Meiryo, "Noto Sans CJK JP", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", serif !important; } `); })();