[Userscript] Easy Furigana

Just get this script instead, it’s better


Forums: Easy Furigana

I can’t believe I haven’t made a thread for this already!

This script adds a button in the replybox toolbar, that converts simple syntax to furigana code. When you click the button the script automatically turns
<漢字>[かんじ] into <ruby>漢字<rp>(</rp><rt>かんじ</rt><rp>)</rp></ruby>, which displays as 漢字(かんじ)
and
<漢字>{かんじ} into <ruby>漢字<rp>(</rp><rt><span class="spoiler">かんじ</span></rt><rp>)</rp></ruby> which displays as 漢字(かんじ)

Makes it much easier to add furigana to a post.

Available At

→ All Of Mami-sensei’s Beginner Threads ←


Firefox + Tampermonkey users

Using this script on Firefox with Tampermonkey is only possible if you disable a certain security setting due to a strict Content Security Policy. If you wish to use this script and not switch script handler to something which does work (such as Violentmonkey), you can disable the CSP by going to about:config, searching for security.csp.enable and setting it to false.

21 Likes

EDIT: For those having trouble getting this to work under Tampermonkey on Firefox, Violentmonkey seems to be successful.


(previous query)

Sorry to bother you, but is there anything needed to get this to work beyond installing the script in Tampermonkey and starting a reply?

I don’t seem to see the button. This is on Firefox, on Ubuntu, if that’s relevant.

(It looks like tampermonkey might not be playing nicely with uBlock Origin. Ho hum…)

1 Like

Hey, yeah I am aware of this issue. It doesn’t seem possible to use any script at all on the forums using Tampermonkey on Firefox unless you disable a certain security setting. It seems to be a Firefox or Tampermonkey issue rather than a script issue. I’ve tried, but there doesn’t seem to be anything that I can do about it. I don’t remember what the setting was, but I could look it up later if you want me to

1 Like

It’s OK - as mentioned, I found a workaround.

1 Like

I’ll add the info to the OP, at least 230185602321088514

1 Like

Oh look! Another script by @Kumirei(Script God) :heart:
I love this so much!!! =D

1 Like

when you say " Just get this script instead, it’s better"

you reffer to the ime2furignana or your own script?

1 Like

The other one

2 Likes