[Userscript] Wanikani Real Score

So now that they’ve added 6 new items, it is over 9000 :eyes:

3 Likes

Well this finally broke with the newest update. Not unexpected, but without a native summary page and me not wanting to download another script to fix it, this was really my only clear way to tell how my progress was going in a single number, even if that number was drifting with the content updates and I couldn’t be bothered to fix the max number.

1 Like

@Humin

Replace .progress-component with .wk-panel--level-progress on line 108.

1 Like

This script now has a $ is not defined error, I guess it depends on jquery and maybe wanikani stopped using it? There’s a line later which uses jStorage, so I haven’t tried replacing that as it seems like faff.

Replace the line before 'use strict'; with:

wkof.include('Jquery');
wkof.ready('Jquery').then(function() {

Replace the final line with });

This forces the script to wait to start until jQuery has loaded.

This solution is the preferred recommendation from the WKOF developer thread: Wanikani Open Framework [developer thread] - #501 by rfindley

Note: This script might still be broken in reviews. jStorage needs to be swapped with localStorage API or injected, see Wanikani Open Framework [developer thread] - #504 by rfindley.