Greasy Fork

所有字体改成Papyrus和华文行楷

将你的网页上的所有文字字体改成华文行楷和Papyrus(纸莎草),没有华文行楷字体的将用其他行楷代替。

// ==UserScript==
// @name         所有字体改成Papyrus和华文行楷
// @name:en      All fonts are changed to Papyrus
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  将你的网页上的所有文字字体改成华文行楷和Papyrus(纸莎草),没有华文行楷字体的将用其他行楷代替。
// @description:en Change all the text fonts on your web pages to Chinese lineal and Papyrus, those without Chinese lineal fonts will be replaced with other lineal fonts.
// @author       LoadOverload
// @match        http*://*/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
    window.document.head.innerHTML +=`<style>*{font-family : papyrus,STXingkai,FZYaoti,KaiTi !important;}</style>"`
    // Your code here...
})();