Hide/Show ruby text/Furigana (hotkey & on-screen button)

Add an on-screen button and hotkey to toggle furigana on an off

目前為 2020-10-18 提交的版本,檢視 最新版本

作者
Garbaz
評價
0 0 0
版本
1.3
建立日期
2020-10-17
更新日期
2020-10-18
尺寸
3.8 KB
授權條款
未知
腳本執行於

This script adds an on-screen button and hotkey to websites, which contain <ruby> tags, that toggle the furigana (ruby text) above e.g. Kanji on and off.

The button appears in the top left, showing the current state. Clicking on it will toggle furigana on and off.

In addition, the key to the left of the number row under the ESC key (I think on the US layout it has ~ on it) can also be pressed to toggle.

The hotkey, button (enable/disable & position) can be configured at the top of the script.

TODO:

Figure out how to implement the auto-hide feature properly. Disabled for the time being.