您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
fix display of lang-specific glyphs of CJK ideographs
当前为
Auto detects the language used and adds "lang" tag to various HTML tags on journal pages on lang-8.com, to enable display of language-specific glyphs of CJK ideographs.
I wrote this to fix the problem of display of Japanese Characters with the Chinese-specific glyphs. I guess it would work for other languages as well, but I have not tested it.
Note that you need a OpenType font that supports "localized forms" to make it work. I am using Adobe Source Han Sans. Also slight adjustments to the css configuration are needed:
body{
font-family: sans-serif !important;
}
to force the browser to use your font.
This script utilizes guessLanguage.js library authored by Rich Tibbett licensed under LGPL. This script itself is licensed under GPL.