[Userscript] Forum: IME2Furigana

Click “Raw” button, to add to TamperMonkey

Modification of the original, but less extra features than version 1.7.

  • Ability to render Furigana markup without auto-IME. (IMO, auto-IME is buggy, anyway.)
  • Convert back to markup only if ruby tags are originally rendered by IME2Furigana. [1]
    • This also allows complex ruby tags, such as staggering ones, e.g. ウエディング結婚けっこんリングゆび
  • Block conversion with Zero-width nonbreaking space (\u2060), or Zero-width space (\u200b).
    • Copy-paste the hidden character from the link, and paste it just after < for <⁠結婚>[けっこん] to HTML conversion, and after <ruby> tag for from HTML conversion. [2]
  • Tested on mobile Android (Kiwi Browser and Violentmonkey)
  • Removed features
    • Code block detection. (Use Zero-width nonbreaking space instead.)
    • Additional buttons and addtional stylings
      • These are just work to do, and subsequent extra maintenance.

  1. which is <ruby lang = 'ja-JP'> ↩︎

  2. <ruby lang = 'ja-JP'>⁠結婚<rt>けっこん</rt></ruby> ↩︎

2 Likes