Replace fonts

Replace web fonts

目前為 2022-01-09 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name Replace fonts
  3. // @name:zh-CN 替换和美化网页字体
  4. // @namespace https://*
  5. // @version 1.0
  6. // @author chwt163
  7. // @description Replace web fonts
  8. // @description:zh-CN 默认替换成雅黑,想要其它字体,更改Microsoft YaHei为其它字体名称即可。text-shadow可以更改字体阴影,如不需要阴影,删除text-shadow那一行即可。
  9.  
  10.  
  11. // @include *
  12. // @supportURL https://*
  13. // @run-at document-start
  14. // @grant GM_addStyle
  15. // @license MIT
  16. // ==/UserScript==
  17.  
  18. (function () {
  19. GM_addStyle(`
  20. :root body :not(:is(em,i)){font-family:"Microsoft YaHei"}
  21. * {text-shadow : 0.00em 0.00em 0.00em #999999}
  22. `);
  23. })();