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

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

2020-10-17 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

लेखक
Garbaz
रेटिंग
0 0 0
आवृत्ती
1.1
बनवली
2020-10-17
अपडेट केली
2020-10-17
आकार
3.27 KB
License
नाही
यांवर लागू होते:

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

The button appears in the top left, showing the current state. Clicking on it will toggle furigana on and off. By default the button is hidden if your mouse isn't in the corner. Both the button and the "auto hide" feature can be disabled in the script.

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) and "auto hide" feature (enable/disable & size) can be configured at the top of the script.