Hello!
Sorry to bump this old thread up again, but I’m having issues with it…
For some reason the script stopped working for me (Chrome Browser). Am I the only one havin issues?
Seems to still be working for me on the latest version of chrome. My first guess is that one of the other extensions updated and is now conflicting with it, or it’s throwing an error somewhere. Can you open your dev console and refresh the dashboard and screenshot any red errors you get?
(I installed all of the extensions you are using except the NHK Easy Practice one to see if any were conflicting and the levels overview is still loading ok on my end)
Thank you for creating this script! It’s going to help me figure out where to start doing vocab lessons again after skipping them all these levels ago… Pretty terrifying visuals, but at least now I know what to do.
Perfect. I’ve been looking for a script like this.
It’s like that satisfying feeling when you see 0/0 and your dashboard, but instead it’s a level being one color.
I think the new UI update also broke this… like I usually have to refresh the site once after loading it for the first time after opening the browser for Levels+ to show up. And even then it sometimes doesn’t load after that, but refreshing always fixes it. (Maybe it is like that when i just finished some reviews… I’ll keep an eye on it)
This happens to the scripts Doublecheck and Ultimate Timeline aswell. For Doublecheck - like here it’s also enough to just refresh the reviews page, but Ultimate Timeline requires a bit more - that’s described in their post in one of the most recent comments though.
Hmmm I just updated, but it didn´t help - for me at least…
as for when the script unloads, i’ve observed the following:
when I’m on the wanikani overview page (https://www.wanikani.com/) just clicking the logo in the upper right to “refresh” the page is enough for levels + (and ultimate timeline at that) to not show up, until i refresh by using F5 or the refresh button
when I click levels/levels + and choose to view all items of a level, levels + is also missing on the level details page (for example https://www.wanikani.com/level/1 , etc), until F5 or refresh button (ultimate timeline too)
after doing new lessons and returning to the overview page, levels + is missing until refresh or F5 (ultimate timeline too)
after doing reviews, and automatically returning to the overview page, levels + is missing until refresh or F5 (ultimate timeline too)
all points mentioned I have observed in v2.2.3 and 2.2.4
but maybe someone besides me could also test them, just to make sure it’s not just a “me” problem…
I’m able to replicate the issue by just clicking the wanikani homescreen icon, but I’m not understanding what part of that thread is related to this issue. Can you link to the specific comment?
The issue is that the entire main site now uses a system that makes things like relying on Tampermonkey to be notified when the current URL changes at best unreliable (i.e., it will fail on any situation other than a complete page refresh or the first time the tab is opened). Things like navigating between pages now no longer trigger a script to run, unless the new system is accounted for.
Basically, if you’re not hooking into Turbo events in your script, your users will have issues, period.
Whether you choose to use this library for it or choose to do it yourself is up to you, however.
There are also some other libraries, such as WaniKani Item Info Injector, that have incorporated their own system for dealing with the Turbo events into their logic, so some scripts that already relied on those were able to get by without updating them if people have the newer version of the library installed locally.