What?
It’s a userscript that adds context sentences to your vocabulary reviews!
Also, first (real) post from a long time lurker. Yay!
Where?
Here (auto update should work now).
And if you want to know how it works, here’s the gist.
How?
There have been numerous posts on how to install usercript clients at this point, so I’ll assume you can figure that out 
Why?
I found myself never paying much attention to the context sentences that WaniKani supplies. By showing them with the vocab, the experience of studying becomes much closer to how one would encounter the words in real life.
Notes
If you have any suggestions, let loose! I recon this is the first javascript I’ve ever shown to anyone else.
If you find any problems, let me know and I’ll do my darnedest to fix them.
Thanks @obskyr for explaining jStorage!
Revisions
0.1.0
- Initial release.
0.1.1
- Started replacing vocab with regex split term.
0.1.2
- Fixed sentence randomization bug.
- Fixed regex search bug (by removing regex haha).
- Context sentences for verbs are now ommited (until a conjugation solution is figured out).
0.1.3
- Removed superfluous logs.
- Enhanced appearance of example sentences.
- Added vocab highlighting.
0.1.4
- Removed script from lessons screen.
- Force old styling when a context sentence can’t be loaded.
0.1.5
- Added experimental verb conjugation.
- Smoothed sentence loading glitches.
0.1.6
- Fixed script compatibility issue by less destructively setting values in html.
- Fixed issue where vocab with ‘〜’ not being parsed correctly.
- Removed ‘experimental conjugation’ flag.
0.1.7
- Fixed issue where context div wasn’t being hidden during kanji and radical reviews.
0.1.8
- Fixed styles for users not running the Jitai script (whoops, lol)
- Fixed code not running due to race condition if vocab appeared right as reviews start.
- Gracefully failing when running into a conjugated adjective.
0.1.9
- Changed script to run at document end. (Fixed odd behavior in Firefox)










I wonder if it’s better to have a setting here to set fonts smaller. Fonts for the context sentence excluding the vocab in question.




