您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Prioritization of Japanese glyphs for Han unification
// ==UserScript== // @name WaniKani Community prioritize Japanese glyphs // @namespace https://github.com/patarapolw // @version 0.1.3 // @description Prioritization of Japanese glyphs for Han unification // @author polv // @license MIT // @match https://community.wanikani.com/* // @icon https://www.google.com/s2/favicons?domain=community.wanikani.com // @grant none // ==/UserScript== (() => { // src/shared/inject-lang.ts function injectLangHTML(lang) { const obs = new MutationObserver(() => { if (document.documentElement.lang !== lang) { document.documentElement.lang = lang; } }); obs.observe(document.documentElement, { attributeFilter: ["lang"] }); document.documentElement.lang = lang; } // src/forum-jp-glyphs.ts injectLangHTML("ja-JP"); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址