[Userscript] Wanikani DotDotDot Expander

Wanikani DotDotDot Expander


Several places on Wanikani show abbreviated English meaning, such as “Undergrou…”, probably for proper display on small mobile screens. But on desktops and tablets, the full text can easily fit without being abbreviated. This script expands the “…” back into full text.

[Original script by Takuya Kobayashi (@kobayashi), currently maintained by @rfindley]

See before (left) and after (right):

On the Kanji tiles, where there isn’t room for expansion, you can hover over the tile to see the fully expanded text.


Awesome. Thanks for doing this!

@viet @oldbonsai

Is there any chance that this can be done on the WaniKani side? Now that the modern browsers support text-overflow: ellipsis, it should be possible to do this more neatly on your end.


Yeah, supporting this natively would be great.

Thank you for this script rfindley!

1 Like

I wonder @viet @oldbonsai, is this something you’ve looked into?

1 Like

[DotDotDot Expander]: No expansion found for “千円” --> “One Thousa…”
[DotDotDot Expander]: No expansion found for “大文字” --> “Uppercase …”

Also, it’s easy to update the script if I’m ever not around to update after WK changes. You’ll see the list at the top of the script in TamperMonkey.


I have this script installed but for some reason it doesn’t seem to be working. Words that according to the script should be showing still turn up as dots. Tampermonkey shows it be running though, so it isn’t off. Did this script maybe not get fixed when the website updated? I don’t usually look at the vocabulary lists so I only noticed now, though it may have been like this earlier.

It seems to be working for me.
Which words are not being un-dotted, and on which page?

Also, the script relies on a manually managed list, and I don’t generally update it unless someone points me to some items that need to be added to the list. So, you may be seeing some new items.

It seems like none of the dotted ones are being converted. At any rate, a whole lot of them aren’t. I Control+F’d “…” on the levels 1-10 vocabulary page, and took a screenshot of it. If you look at the right side of it, you can see how many yellow bars there are. It said there were 116 on that page.

If the script is working for you, then it could be something odd about my device, but I don’t know what that could be. My other scripts seem to be working fine.

You can try opening the Javascript console (press F12 and click the Console tab if you are on a PC) to see if it’s reporting any errors.

But also, while checking if it was working, I did notice that the list of (…) words was significantly out of date. So, I created an updated version that uses Open Framework to automatically look up the full text.

:point_right: [v3.0.0] - Upgrade to use Open Framework to eliminate maintenance of the word list.

If anyone wants to stick with the non-Open-Framework version, please downgrade to v2.0.1 and disable updates.


It just works ^TM
Thanks rfindley!

1 Like

I upgraded, and the script is completely working now. Thanks for updating it!