[Userscript]: WaniKani Ultimate Timeline

dashboard

You’re welcome.

In context:

        $('.dashboard').before(timeline);

Obviously, that doesn't fix the turbo load issue, but if you're fine refreshing the dashboard whenever you wanna see it, that's probably all you need to change.

Edit:

Actually, that may be a lie. Looking at it now I’ve definitely changed a lot more than that to get it working again, so there’s probably something else.
Nah, that should work.
Though .dashboard__content should work too tbh…

If you install the Turbo Library locally and set it to load after the Open Framework, you can swap out the ready line to the following:

wkof.ready('document,ItemData,Menu,Settings,TurboEvents').then(load_settings).then(()=>wkof.turbo.on.common.dashboard(startup));

To get it working with normal page navigation.

1 Like