By looking at other userscripts, I see code like
currentItem = $.jStorage.get(“currentItem”);and then being used in ways sych as
currentItem.en for EnglishWhat I want to know is, is there documentation for the different types of data in currentItem?
currentItem.aud for audio
currentItem.voc for the current vocab word
More specifically, I want the context sentence of the current vocab in reviews.
So since currentItem doesn’t contain the context sentences, I’m using autohotkey to open every individual vocab page and compile a
database of all the vocab words and their context sentences to include
in the userscript.
Thanks for your help, especially @rfindley for the code to grab sentences. Here’s my updated script.