Lang attribute setter (prioritize Kanji font on Japanese Websites)

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

当前为 2022-04-18 提交的版本,查看 最新版本

作者
Pacharapol Withayasakpunt (Pol)
评分
0 0 0
版本
0.1.4
创建于
2022-04-18
更新于
2022-04-18
大小
2.0 KB
许可证
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 to UserScript to add more websites, as well as use regular expression, if @match isn't sufficient.

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.