Replace fonts

Replace web fonts

Tính đến 10-01-2022. Xem phiên bản mới nhất.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name                 Replace fonts
// @name:zh-CN           替换和美化网页字体
// @namespace            https://*
// @version              1.0.1
// @author               chwt163
// @description          Replace web fonts
// @description:zh-CN    默认替换成雅黑,想要其它字体,更改Microsoft YaHei为其它字体名称即可。text-shadow可以更改字体阴影,如不需要阴影,删除text-shadow那一行即可。
// @include              *
// @supportURL           https://*
// @run-at               document-start
// @grant                GM_addStyle
// @license              MIT
// ==/UserScript==

GM_addStyle(`
    body :not(:-webkit-any(em,i)){font-family:"Microsoft YaHei"}
    * {text-shadow : 0.00em 0.00em 0.00em #999999}
`);