WK Real Times (userscript)


#1

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!

List of API and Third-Party Apps
The New And Improved List Of API and Third Party Apps
[Userscript]: WaniKani Ultimate Timeline
[Userscript]: WaniKani Ultimate Timeline
[Userscript]: WaniKani Ultimate Timeline
[Userscript]: WaniKani Ultimate Timeline
Next review time script?
Next review time script?
[Request] Exact time of next review
Unofficial FAQ
WK Real Numbers (userscript)
Firefox extension?
[Userscript]: WaniKani Ultimate Timeline
#2

Awesome! Works great! :smiley:


#3

I love it! Thanks!


#4
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?

#5
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.

#6

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


#7

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


#8

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


#9

Sweet, thanks!


#10

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:


#11
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?

#12

v1.2: Updated to support HTTPS.


#13

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.


#14

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”



#15

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


#16
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.

#17

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


#18

Yep, works now, thank you very much.


#19
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!