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

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

Versión del día 18/10/2020. Echa un vistazo a la versión más reciente.

Autor
Garbaz
Calificaciones
0 0 0
Versión
1.3
Creado
17/10/2020
Actualizado
18/10/2020
Tamaño
3.85 KB
Licencia
Desconocida
Funciona en

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.