What does this script do?
Shows one of the context sentences for vocabulary once both reading and meaning have been answered. If sentence is clicked on also shows the English translation. Picture below.
The new update broke the context sentence script I was using before so I had to spend half my day coding this up instead of doing the actual reviews.
Prerequisites
Installation
Over on GreasyFork: WaniKani Review Context Sentences
Feature requests and bugs
This script is very much tailored to my opinions and preferences so I donât really feel like adding any fancy features to it. Please do report any bugs and Iâll take a look if I have time.
7 Likes
Currently, the extension hides the English translated context unless you click on the context bar.
Iâve created an updated version that has a settings menu toggle to determine whether the English translated context should be shown by default or not.

(The menu will show âHide/Show English Contextâ depending on whether you have the setting enabled or not. It will refresh the page after selection.)
For me this script doesnât work anymore.
I have to replace line 6 with
const wasPassed = e.detail.results.action === "pass";
It works for me, thanks to pektinasen1 above, thank you so much. Iâm currently using it WaniKani Open Framework, Wanikani Double Check, and Wanikani pitch info, which all work without adding any extra code.