No, WK started logging review data back then
Thanks so much for this script, keeping it clean is all the more reason to make sure I donāt skip any days til Iām satisfied
This is very cool. I wish I could use scripts :(. Great job anyway!
Why canāt you?
I donāt own a (proper) computer. My only devices are an iPad Pro 2018 and a Pixel 3 XL. I canāt bring myself to get a laptop when my iPad does 98% of what I need (I work as an artist), but damn that last 2% makes me sad some days. Like, every time I level up but have to finish 80 vocab before I can see any new kanji.
I think someone mentioned Mozilla Firefox being able to install and utilize scripts on smartphones, maybe thatād also work on your tablet?
Apple doesnāt allow any scripts to run as far as I am aware
still love seeing all of the things this awesome community cooks up.
Some day Iāll get an old MacBook just for WKing, lol.
Maybe a cheap Chromebook would be good for you.
I donāt need a chart to show me how diligent Iāve been I just reached Lv.30 and I havenāt skipped a single day Iām halfway there!
In browser-targeted code, Iāve always done tests like:
if (some_var == undefined) some_var = [];
This is the first time Iāve seen it cause an error.
I do recall things being more strict when running in node, though.
Great script, thank you!
I didnāt know i needed this script until now, i mean wow!
I like these colours, Iām really not that fond of Wanikaniās color palette. I might try to make a userscript just to change them when i have time
Thanks! Iāll look to incorporating it when I find the time!
Hmm. I tried to combat this using a timezone offset. Could you try putting new Date().getTimezoneOffset()
in the console (CTRL+SHIFT+J) and see what the output is?
That solution works because āwindowā is an object equivalent to the global namespace (in browsers, at least), and objects donāt throw errors when you try to access non-existent member variables
I have seen some other object that made variables accessible in the global namespace that wasnāt window, but thatās pretty unusual.
Interesting. Have you tried that directly in the developer console? It gives me an error, just like usual. (I was using Chromeās console just now.)
Of course, if you have var some_var;
somewhere in the code before that, it wonāt cause an error.
Woks just fine for me in Chromeās console
>wkof
{include: Ę, ready: Ę, load_file: Ę, load_css: Ę, load_script: Ę, ā¦}
>window.wkof
{include: Ę, ready: Ę, load_file: Ę, load_css: Ę, load_script: Ę, ā¦}
Of course, you have it loaded
Try a non-existent variable like some_var
Oh, I see what you meant. Yeah, that gives me an error as well. Strange that it doesnāt in the scripts though.