I’ve been looking under the hood lately and I’ve come up with a rather insidious command that will make short work of your lessons and reviews. You are only cheating yourself if you use this command!
if entered into the console, it should clear out all of your lessons and reviews.
["lesson","review"].map(function(Q){$.getJSON("/"+Q+"/queue?",function(data){if(Q=="lesson")data=data.queue;
var i=data.length,str="";while(i--){str+=((t=data[i].rad?"r":data[i].kan?"k":"v")+data[i].id+"[]=0&").repeat(t=="r"?1:2);if(str.length>=1980||!i)if(str)$.getJSON("/json/progress?"+str),str="";}})})
If WaniKani had a big red button, this would be it!
If you want to get them all wrong, try this one:
["lesson","review"].map(function(Q){$.getJSON("/"+Q+"/queue?",function(data){if(Q=="lesson")data=data.queue;
var i=data.length,str="";while(i--){str+=((t=data[i].rad?"r":data[i].kan?"k":"v")+data[i].id+"[]=1&").repeat(t=="r"?1:2);if(str.length>=1980||!i)if(str)$.getJSON("/json/progress?"+str),str="";}})})
alternatively you could change the ‘=0’ to ‘=1’ and get every answer wrong (it will still clear out the reviews/lessons, but you’ll see the reviews again a lot sooner)
Are people joking when they talk about restraining themselves from clicking the big red button? Since well, as much as it’s nice to know this exists and all, I’d never actually consider using it.
Dusk252 said...
Are people joking when they talk about restraining themselves from clicking the big red button? Since well, as much as it's nice to know this exists and all, I'd never actually consider using it.
I'm banking on the notion that most of us are smart enough not to use it, For me personally it was just a scripting exercise.
I currently have 2600 reviews to get through which I plan to do the honest way of course, but If I have to live with temptation so does everyone else!
PS. i figured this was the forum to post it in, since it was all scripty and whatnot, but I don't believe it does much to "Enhance the WaniKani experience"
Dusk252 said...
Are people joking when they talk about restraining themselves from clicking the big red button? Since well, as much as it's nice to know this exists and all, I'd never actually consider using it.
@Ethan, Looks like you’re having as much fun under the hood as I am :-). Hopefully, I’ll be ready to announce some new scripts soon, and some enhanced old ones. I’ve got some things I think you’ll like and can use. Not so scary as yours, though… lol.
rfindley said...
@Ethan, Looks like you're having as much fun under the hood as I am :-). Hopefully, I'll be ready to announce some new scripts soon, and some enhanced old ones. I've got some things I think you'll like and can use. Not so scary as yours, though.. lol.
:DDDDD
bro. i love your scripts. like, srsly. i am super excited to see what you make. :DDDDDDD
Dusk252 said...Are people joking when they talk about restraining themselves from clicking the big red button? Since well, as much as it's nice to know this exists and all, I'd never actually consider using it.
haha I'm joking. I can't speak for others but there was a moment... I was just like this is dangerous! I've been sitting at slightly over 2,000 reviews for a while and it was tempting for all of half a second but really who would it actually help? I'mma have to deal with those reviews eventually anyways. It's just rather fascinating that people are tinkering around under the hood and can come up with this kinda stuff! Like, super impressive. :) And plus... It's a big, shiny button.... How can we resist? :D