Replace smth fonts

Replace smth fonts to Microsoft YaHei

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name                 Replace smth fonts
// @name:zh-CN           替换和美化smth字体
// @namespace            https://*
// @version              1.0.1
// @author               starload
// @match                https://www.mysmth.net/nForum/*
// @description          Replace smth fonts to Microsoft YaHei
// @include              https://www.mysmth.net/nForum/*
// @supportURL           https://*
// @run-at               document-start
// @grant                GM_addStyle
// @license              MIT
// ==/UserScript==

GM_addStyle(`
    body :not(:-webkit-any(em,i)){font-family:"Microsoft YaHei"}
    * {font-size : 14px!important}
    * {text-shadow : 0.00em 0.00em 0.00em #999999}
    * {text-decoration:none!important;font-weight:500!important;}
`);