Greasy Fork is available in English.

Noto Sans CJK Fonts Import

Make Noto Sans CJK Fonts Available to all Sites

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

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

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.

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

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         Noto Sans CJK Fonts Import
// @name:ja         Noto Sans CJK Fonts Import
// @namespace    http://tampermonkey.net/
// @version      0.3.1
// @description  Make Noto Sans CJK Fonts Available to all Sites
// @description:ja  すべてのサイトでNoto Sans CJK Fontsを利用できるため
// @author       You
// @match        https://*/*
// @icon         https://cdn-1.webcatalog.io/catalog/google-fonts/google-fonts-icon-filled.png
// @grant        none
// ==/UserScript==
-(function $$($$count) {
    'use strict';

    if (!document.documentElement) return window.requestAnimation(() => $$count ? $$($$count - 1) : 0);

    function addStyle(styleText) {
        const styleNode = document.createElement('style');
        styleNode.type = 'text/css';
        styleNode.textContent = styleText;
        document.documentElement.appendChild(styleNode);
        return styleNode;
    }

    let r = [
        'family=Noto+Sans:wght@300;400;500;600;700',
        'family=Noto+Sans+HK:wght@300;400;500;600;700',
        'family=Noto+Sans+TC:wght@300;400;500;600;700',
        'family=Noto+Sans+SC:wght@300;400;500;600;700',
        'family=Noto+Sans+JP:wght@300;400;500;600;700',
        'family=Noto+Sans+KR:wght@300;400;500;600;700',
        'display=swap'
    ];

    let url = 'https://fonts.googleapis.com/css2?' + r.join('&');

    addStyle(`@import url('${url}');`);

})(4);