Hello fellow scripters!
Here is a little request:
When doing lessons (i.e. when the URL is WaniKani — Log in ), and a vocabulary lesson item is displayed, I’d like to see (under the Breakdown tab) all user synonyms for each kanji displayed.
What it looks like currently for me
What I want it to look like
In nitty-gritty detail: I’d like div
elements (with margin-top: 0
) appended to each existing kanji meaning div.pure-u-1-4
, in the region of the DOM nested under the div#voc-supplement-breakdown
, generated from the user_synonyms
Array retrieved from the API, to result in something that looks like the left hand side of this screenshot:
Rationale
WaniKani mnemonics often only are written from the perspective of the primary English text meaning given to a kanji. But many kanji have multiple meanings in English, and often they would be easier to memorize using one of the alternative meanings. If these alternative meanings of each kanji were visible at the same time as the explanation of the vocabulary were given, then it’d be easier for users to create their own, better mnemonic or explanation.
Also, and most importantly for me, this would work well with my [Userscript] WaniKani Bulk Add Kanji User Synonyms script.