[Userscript] Forum: IME2Furigana

Version 1.6 patch notes:

The script functionality is now initially enabled (mode initialized to "on")

When installing the script, the user likely wants to use the script’s functionality immediately, so it was a bad design choice to initialize the mode to “off”.

Rejecting the back-conversion of ruby to furigana markup is persistent again

If the user chooses not to back-convert, I save their choice by adding a class to the element containing the textarea. However, it seems there was a change to Discourse, and now it deletes my added class immediately. I fixed this by moving the class to the parent element.

Repeatedly clicking the F button now keeps updating the preview box

If the user enables or disables the script functionality, the preview box should be updated immediately to reflect the change. However, the update only happend for the first click. This should be fixed now.

Please let me know if something doesn’t work.
Link to previous script version for downgrading in case version 1.6 doesn’t work for you

4 Likes