WK Real Times (userscript)

As suggested by Satoshi, it would be nice to see more exact times on WaniKani.
So here it is, WaniKani Real Times!

What it does is, it turns this:


into this:



Latest version: v1.2

Download and more info: http://userscripts.org/scripts/show/154756

Known Issues:

  • None!

Tested with Greasemonkey, Tampermonkey and NinjaKit.
If it breaks or blows up or have any other feedback, please let me know!

Awesome! Works great! :smiley:

I love it! Thanks!

Soon™
lol.

May I request that you change

if (diff < 0)
in updateDownCounters() to something like

if (diff < 100)
so that it doesn't erroneously show Soon™ due to rounding errors and such?
piderman said...
Soon™
lol.

May I request that you change

if (diff < 0)
in updateDownCounters() to something like

if (diff < 100)
so that it doesn't erroneously show Soon™ due to rounding errors and such?

Nice to see you liked that. :)

On the Soon™ bit, it's how WaniKani works. I've had reviews available and it would tell me my next review was in "<1 minute".
A more 100% fix would be to just check if you have reviews available and then have it say "Available now", instead of working with the rounding error or whatever it is that causes the site to say that you still have some time to wait before your next reviews when they are in fact available.
I'll have look on my next reviews and fix it.

I know it’s how WK works and it annoys me there too :wink: But at least a userscript is easily modified.

True and true! Next review is in 30 minutes so shortly after that I should have a new version available.

v1.1 is now out. Fixed the “Available Now” for more accuracy and a bug where up/down times would be exchanged.

Sweet, thanks!

When I try opening it, it gives me an error message. It talked about how window is undefined, and there’s a runtime error. :frowning:

sugoida said... When I try opening it, it gives me an error message. It talked about how window is undefined, and there's a runtime error. :(
What browser / userscript extension are you using?

v1.2: Updated to support HTTPS.

http://pastebin.com/Kzkz3iqi

Here’s a mirror of this script, since someone wanted to use it and userscript is still unreachable and now the :8080 trick has stopped working also.

so i just found a bug with this and i was wondering if anyone’s still updating it or if perhaps there’s a replacement?

basically on a burned item’s info page, at the bottom where it should show when it was burned, it shows “available now”


Does anyone have a working replacement for this script or a fix? It doesn’t work anymore, for quite some while now i think.

Naryoril said... Does anyone have a working replacement for this script or a fix? It doesn't work anymore, for quite some while now i think.
 I do...  I had to fix it once to find a conflict with one of my scripts.
Check back in a while, 'cause I've gotta dig it out.

Okay… I’m back.  I found my archived copy, and it seems to be working.  But since I never used this script, I’m not really sure what all to look for.  I saw farther back in the thread that ‘burned’ items were incorrect, so I made a single-line correction to the code to fix that.  Other than that, you’re getting it as-is :slight_smile:

I’ve uploaded it as ‘unlisted’ on greasyfork here:
https://greasyfork.org/en/scripts/19586-wanikani-real-times

Yep, works now, thank you very much.

rfindley said... Okay.. I'm back.  I found my archived copy, and it *seems* to be working.  But since I never used this script, I'm not really sure what all to look for.  I saw farther back in the thread that 'burned' items were incorrect, so I made a single-line correction to the code to fix that.  Other than that, you're getting it as-is :-)

I've uploaded it as 'unlisted' on greasyfork here:
https://greasyfork.org/en/scripts/19586-wanikani-real-times
 Added this version of the script!

Confirming that version 1.3 still works in 2020. Going to move this out of the outdated section in the master list…