Mkana+

パソコンや スマホで 表示できない フォントを 表示するために,フォントを 変更します。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Mkana+
// @namespace    https://lit.link/toracatman
// @version      2025-12-24
// @description  パソコンや スマホで 表示できない フォントを 表示するために,フォントを 変更します。
// @author       トラネコマン
// @match        *://*/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @sandbox      DOM
// @license      MIT
// ==/UserScript==

var css = `
@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Noto+Sans+KR&family=Noto+Serif+Hentaigana&display=swap');

@font-face {
	font-family: "Mkana+";
	src: local("Mkana+"),
	     url("https://toracatman.github.io/fonts/mkanaplus.woff2") format("woff2"),
	     url("https://toracatman.github.io/fonts/mkanaplus.woff") format("woff");
	font-display: swap;
	unicode-range: U+0-F8FF, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23-FA24, U+FA27-FA29, U+FB00-2F7FF, U+2FA20-10FFFF;
}
@font-face {
	font-family: "MgenKana+";
	src: local("MgenKana+"),
	     url("https://toracatman.github.io/fonts/mgenkanaplus.woff2") format("woff2"),
	     url("https://toracatman.github.io/fonts/mgenkanaplus.woff") format("woff");
	font-display: swap;
	unicode-range: U+0-F8FF, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23-FA24, U+FA27-FA29, U+FB00-2F7FF, U+2FA20-10FFFF;
}
@font-face {
	font-family: "Nishiki-teki-Braille";
	src: local("Nishiki-teki"),
	     url("https://toracatman.github.io/fonts/nishiki-teki.woff2") format("woff2"),
	     url("https://toracatman.github.io/fonts/nishiki-teki.woff") format("woff");
	font-display: swap;
	unicode-range: U+2800-28FF;
}
@font-face {
	font-family: "Jigmo";
	src: local("Jigmo"),
	     url("https://toracatman.github.io/fonts/Jigmo.woff2") format("woff2"),
	     url("https://toracatman.github.io/fonts/Jigmo.woff") format("woff");
	font-display: swap;
	unicode-range: U+2E80-302D, U+3030-312F, U+3190-9FFF, U+F900-FAFF, U+FE11-FE12, U+FE51, U+FF61-FFDF, U+1AFF0-1B16F, U+1D372-1D376, U+1F000-1F02F, U+1F200-1F2FF, U+1FA60-1FA6D, U+100000-10FFFF;
}
@font-face {
	font-family: "Jigmo2";
	src: local("Jigmo2"),
	     url("https://toracatman.github.io/fonts/Jigmo2.woff2") format("woff2"),
	     url("https://toracatman.github.io/fonts/Jigmo2.woff") format("woff");
	font-display: swap;
}
@font-face {
	font-family: "Jigmo3";
	src: local("Jigmo3"),
	     url("https://toracatman.github.io/fonts/Jigmo3.woff2") format("woff2"),
	     url("https://toracatman.github.io/fonts/Jigmo3.woff") format("woff");
	font-display: swap;
}

body {
	font-family: "Mkana+", "MgenKana+", "Nishiki-teki-Braille", "Noto Color Emoji", "Noto Sans KR", "Noto Serif Hentaigana", "Jigmo", "Jigmo2", "Jigmo3", sans-serif;
}
`;
var css2 = `
* {
	font-family: "Mkana+", "MgenKana+", "Nishiki-teki-Braille", "Noto Sans KR", "Noto Serif Hentaigana", "Jigmo", "Jigmo2", "Jigmo3", sans-serif !important;
}
`;

(() => {
    var style = document.createElement("style");
    var text = css;
    if (location.origin == "https://x.com") text += css2;
    style.textContent = text;
    document.body.appendChild(style);
})();