IME2Furigana

Adds furigana markup functionality to Discourse. When inputting kanji with an IME, furigana markup is automatically added.

Ili estas versioj de tiu ĉi skripto, kie la kodo estas ĝisdatigita. Montri ĉiujn versiojn

  • v1.13 2024/05/19

    bugfix for ruby=>markup conversion undo feature

  • v1.12 2024/05/19

    changed furigana markup from <kanji>[furigana] to <.kanji>[furigana] to avoid affecting HTML tags followed by BBCode;
    ruby to furigana markup conversion can now also be undone with Ctrl+Z

  • v1.11 2023/12/28

    added compatibility with Emoter userscript

  • v1.10 2023/12/09

    updated to work again after recent Discourse changes

  • v1.9 2023/10/25

    Updated to work with the Discourse changes

  • v1.8 2022/06/30

    added fallback method
    F button now indicates if furigana markup was found
    hotkey

  • v1.7 2022/01/02

    bugfix: on page load, mode "off" would always reset to "on"

  • v1.6 2021/01/15 the script is now initially enabled (mode initialized to "on"), and two minor bugfixes
  • v1.5 2020/09/17 bugfix for browsers not supporting RegExp negative lookbehind
  • v1.4 2020/06/23 furigana bugfix, tags in furigana markup
  • v1.3 2020/04/06 added setting at the top of the script for unprompted ruby to furigana markup conversion
  • v1.2 2020/04/06 if the script detects <ruby> tags in the reply input box, it offers to convert them to furigana markup
  • v1.1 2020/04/01
  • v1.0 2020/04/01
  • v0.3 2019/09/20 button now displays correct state (off, on, blur) when the state was remembered from previous reply
  • v0.2 2019/09/20
  • v0.1 2019/09/20