Lang attribute setter (prioritize Kanji font on Japanese Websites)

Fixes Han unification, for example, for Japanese (can be edited to prioritize other langs)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
Pacharapol Withayasakpunt (Pol)
1日のインストール数
0
累計インストール数
16
評価
0 0 0
バージョン
0.2.0
作成日
2022/04/18
更新日
2022/10/05
ライセンス
MIT
対象サイト

It is exactly similar to https://greasyfork.org/en/scripts/439780-wanikani-community-prioritize-japanese-glyphs but add more websites.

This script may also be edited to prioritize other langs, like "zh-TW" or "ko-KR", if you really need it.

It is possible to edit the UserScript to add more websites, for example // @match https://www.notion.so/*

The script is based on lang attribute, and no CSS is really being injected. (I might add CSS injection, based on common fonts, later.)

This partially related to an Arch Linux issue on Firefox., which is fixed as a separated script.

Google Sheets and Google Docs can now set lang from JavaScript console / Dev Tools (at window.langAttrSetter.setPath()).