全局思源宋体

改变网页字体,使用思源宋体。

目前为 2024-05-11 提交的版本。查看 最新版本

// ==UserScript==
// @name         全局思源宋体
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  改变网页字体,使用思源宋体。
// @author       Ajiao
// @match          *://*/*
// @grant        GM_addStyle
// ==/UserScript==
//GM_addStyle("@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;700&display=swap');")
GM_addStyle("@import url('https://fonts.loli.net/css2?family=Noto+Serif+SC:wght@500;700&display=swap');")
GM_addStyle("*{font-family: 'Noto Serif SC', sans-serif;}");

(function() {
    'use strict';

    // Your code here...
})();