[Userscript] Stroke Order Diagram

I’m getting an issue on kanji lessons where the stroke order diagram is there on the first kanji. But when I get to the second one it’s gone. And if I click back to the first one it’s now gone from there too.

2 Likes

I will look into it

1 Like

Just to make sure: Are you on the newest version of the Stroke Order Diagram userscript? That should be version 1.1.9. It was released 23 hours ago, so maybe your script manager didn’t update it yet.

3 Likes

Ah no it hadn’t updated. It’s supposed to check for updates every day but it never seems to work unless I do it manually. :sweat_smile:

3 Likes

Omg it did! :open_mouth: yay!

2 Likes

@Kumirei There was a change to the way $.jStorage.get("l/currentLesson") works (its property rad is now null for image radicals), and I had to update WK Item Info Injector. Can you update the @require to use the newest version?

// @require      https://greasyfork.org/scripts/430565-wanikani-item-info-injector/code/WaniKani%20Item%20Info%20Injector.user.js?version=969075
1 Like

Done!

1 Like

@Kumirei I did some refactoring for WK Item Info Injector, and also adapted it to work with the recent change of the lesson notes to React. Can you update the @require to use the newest version?

// @require      https://greasyfork.org/scripts/430565-wanikani-item-info-injector/code/WaniKani%20Item%20Info%20Injector.user.js?version=972944

Sorry if this starts to be annoying. I expect that the next breaking change due to the ongoing transition to React will come pretty soon.

3 Likes

No problem!

4 Likes

@Kumirei , it seems like there is some problem with the script, I went on the kanji page to see a kanji’s stroke order and it was not there, I checked some other kanji and it was not there either. It did show in the top near the Tampermonkey icon that three scripts were running and that the Stroke order one was among them but I just can’t see the stroke order anywhere. I uninstalled the script and installed it again, refreshed the page but I still can’t see it. :frowning_face: Any idea what’s going on?

Images if that helps

scriptproblem2

scriptproblem3

2 Likes

I believe the stroke order diagrams are taken from Jisho. Whenever this happens to me, I go to Jisho and find that it’s down or slow to respond, so it’s more likely a Jisho problem rather than a script problem.

3 Likes

yes they are taken from Jisho. As a work around Item Inspector can display stroke order diagrams without going through Jisho.

  • Got to setting and select All Wanikani Items in the Tables tab. This will let you change the default settings for this particular table.
  • In the Contents subtab select Stroke Order Image for the Kanji Visual Information setting. You need to do this because Keisei Semanitic-Phonetic Composition is the default setting.
  • Save your settings

strokeOrder1

strokeOrder2

From now on you can use the Global Search temporary filter to select items from the All Wanikani Items page to display the stroke order image in the item popup when you move your mouse over the item.

3 Likes

Did they come back?

2 Likes

Yup

2 Likes