Font Substitute: PingFang SC

Substitute fonts with PingFang SC.

// ==UserScript==
// @name                 Font Substitute: PingFang SC
// @version              3.0
// @author               softforum
// @description          Substitute fonts with PingFang SC.
// @license              Unlicense
// @include              *://*
// @exclude              /^https?://www\.google\.com/maps([/\?].*)?$/
// @run-at               document-start
// @grant                GM_addStyle
// @namespace            uxin.ca
// ==/UserScript==

GM_addStyle(`
@font-face {
    font-family: "SimSun";
    src: local("PingFangSC-Regular");
}

@font-face {
    font-family: "NSimSun";
    src: local("PingFangSC-Regular");
}

@font-face {
    font-family: "宋体";
    src: local("PingFangSC-Regular");
}

@font-face {
    font-family: "Microsoft Yahei";
    src: local("PingFangSC-Regular");
}

@font-face {
    font-family: "Microsoft Yahei UI";
    src: local("PingFangSC-Regular");
}

@font-face {
    font-family: "微软雅黑";
    src: local("PingFangSC-Regular");
}

@font-face {
    font-family: "custom-ht";
    src: local("PingFangSC-Regular");
}

@font-face {
    font-family: "STHeiti";
    src: local("PingFangSC-Regular");
}

@font-face {
    font-family: "Songti SC";
    src: local("PingFangSC-Regular");
}

@font-face {
    font-family: "Roboto";
    src: local("PingFangSC-Regular");
    unicode-range: U+4E00-9FFF;
}

@font-face {
    font-family: "Roboto";
    src: local("Roboto");
    unicode-range: U+0-4DFF;
}

@font-face {
    font-family: "Roboto";
    src: local("Roboto");
    unicode-range: U+A000-10FFFF;
}

@font-face {
    font-family: "Segoe UI";
    src: local("PingFangSC-Regular");
    unicode-range: U+4E00-9FFF;
}

@font-face {
    font-family: "Segoe UI";
    src: local("Segoe UI");
    unicode-range: U+0-4DFF;
}

@font-face {
    font-family: "Segoe UI";
    src: local("Segoe UI");
    unicode-range: U+A000-10FFFF;
}

@font-face {
    font-family: "Arial";
    src: local("PingFangSC-Regular");
    unicode-range: U+4E00-9FFF;
}

@font-face {
    font-family: "Arial";
    src: local("Arial");
    unicode-range: U+0-4DFF;
}

@font-face {
    font-family: "Arial";
    src: local("Arial");
    unicode-range: U+A000-10FFFF;
}

@font-face {
    font-family: "Times New Roman";
    src: local("PingFangSC-Regular");
    unicode-range: U+4E00-9FFF;
}

@font-face {
    font-family: "Times New Roman";
    src: local("Times New Roman");
    unicode-range: U+0-4DFF;
}

@font-face {
    font-family: "Times New Roman";
    src: local("Times New Roman");
    unicode-range: U+A000-10FFFF;
}

@font-face {
    font-family: "Times";
    src: local("PingFangSC-Regular");
    unicode-range: U+4E00-9FFF;
}

@font-face {
    font-family: "Times";
    src: local("Times");
    unicode-range: U+0-4DFF;
}

@font-face {
    font-family: "Times";
    src: local("Times");
    unicode-range: U+A000-10FFFF;
}
`);