WaniKani web "Lightning mode"?


#1

Hello there,

I’ve been using WaniKani for quite some time now and I got used to a mode called “Lightning Mode” which was enabled by clicking a little thunder icon near the house icon while doing reviews. I remember it was added by a third party app, an extension for Chrome.

Sadly, I deleted said app and I can’t seem to find it on the Chrome Store or on the list of “AIP and Third-Party Apps” and neither by searching on the Community.

Can someone shed some light on what the name of the extension is and where can I get it again?

Thank you very much.


#2

It is supposedly a component of the WaniKani Customizer plugin for Chrome:
/t/WK-Customizer-Reviews-Timeline-Pairing-and-Sorting/2163/1


#3

Thanks rfindley, but it seems that the extension got removed from the Chrome store.

I read the topic a bit and it seems that since the extension got discontinued you guys figured out how to import it via UserScript. I installed it and will test it when I get my next reviews (since I have zero at the moment).


#4

I’ve noticed that button. What does it do?


#5

It can sort the review sequence to make wanikani ask you in pairs of reading / meaning and I think it can sort kanji first.


#6

Hm, I fiddled a bit around the code but couldn’t find where it points to the Lightning Mode function.
Could someone please tell me what part of the userscript I need to change, or if someone could upload the Wanikani Customizer chrome addon somewhere so I can download it and install it manually, that would be great!

Thanks guys.


#7

Based on @christiaaan’s description of Lightning Mode (I’ve never used it), the Review Order script can do the same thing.  It adds two buttons to the Review screen.  Select “Single Mode”, and it will quiz you for Meaning then Reading on the same item before moving on.  Note that it doesn’t work for the first review item… but after you answer the first, the rest will be paired.

I’ve modified my copy of the script, so it asks Reading first, then Meaning.  Here is the modification, if you’re interested:

function reorderSingle(){
    //Reordering method following the 1 activeQueue list, that makes both reading/meaning coming in pairs.
    //method = “SINGLE”;
    //reorder();
    try{
        unsafeWindow.Math.random = function() { return 0.6;  }
    }catch(e){
        Math.random = function() { return 0.6;  }
    }
    reorderBulk();
}

Change the “return 0” to “return 0.6” and you will get Readings first.

#8

I tried learning code once. It makes my brain hurt.


#9

xmunch’s ultimate reorder script’s beta version has a lightning mode as well
/t/Wanikani-Reorder-Ultimate/8269/1


#10
ShotgunLagoon said... xmunch's ultimate reorder script's beta version has a lightning mode as well
/t/Wanikani-Reorder-Ultimate/8269/1
Thanks!  Good to know.  I should probably finally make the switch :-)

#11

I thought Lightning Mode was just to automatically skip to the next item when you answr one correctly, without having to click enter?


#12
EskimoJo said...I thought Lightning Mode was just to automatically skip to the next item when you answr one correctly, without having to click enter?
Hah.... That rings a bell, and is a better fit for the name 'lightning mode'.
But actually, I'm looking at the code from the original WK Customizer right now, and it does indeed pair the meaning and reading.

So... I wonder if both things share the same name??  Idunno.

#13

Customizer always had the pairings I believe, and then Lightning Mode was created afterwards (by someone else) and was so liked, it got added to Customizer.

I’m old though, so my memory is probably wrong.


#14
EskimoJo said... Customizer always had the pairings I believe, and then Lightning Mode was created afterwards (by someone else) and was so liked, it got added to Customizer.

I'm old though, so my memory is probably wrong.
Ahh, I see it now.
If the answer was correct, click the 'answer' button to skip the second 'enter' press.
If the answer was wrong, open the 'item info'.


if (!disableLightning && mut.className === 'correct') {
    $('#answer-form button').click();
} else {
    $('#additional-content #option-item-info').click();
    disableLightning = false;
}

#15

Hm, thanks for all the help but I guess the conversation developed more in the segment of [reordering] rather than what I meant.

I really didn’t knew Lightning Mode by definition also reordered the reviews, thanks for letting me know.

I think I should have been more clear: what I’d like to have is to only press ENTER once and WaniKani will jump to the next question. The default being you having to press ENTER twice, one keypress for it to show if you were right or wrong, and a second keypress to move to the next item to be reviewed.

If I’m too stupid and not seeing that the userscripts you posted does that, just let me know and I’ll try to figure it out where to click to enable it.
Thanks again and sorry for the stupidity.


#16
z32o said... Hm, thanks for all the help but I guess the conversation developed more in the segment of [reordering] rather than what I meant.

I really didn't knew Lightning Mode by definition also reordered the reviews, thanks for letting me know.

I think I should have been more clear: what I'd like to have is to only press ENTER once and WaniKani will jump to the next question. The default being you having to press ENTER twice, one keypress for it to show if you were right or wrong, and a second keypress to move to the next item to be reviewed.

If I'm too stupid and not seeing that the userscripts you posted does that, just let me know and I'll try to figure it out where to click to enable it.
Thanks again and sorry for the stupidity.
 I knew what you meant. I think what rfindley just posted above is the code for that. No idea what to do with code though, so I'll leave that to him to explain.

#17
EskimoJo said...

I think what rfindley just posted above is the code for that. No idea what to do with code though, so I’ll leave that to him to explain.

Correct.  I have some reviews coming up tomorrow, so I’ll see if I can wrangle this code snippet into an actual Userscript.

#18
fireheart321 said... I tried learning code once. It makes my brain hurt.
I never had any trouble with it, but from my experience, you need a specific kind of intelligence to be any good at it.
I mean, I have seen so many clever people fail in the programming class, while others get top grades without effort, and can't understand why the others fail.
That doesn't mean you can't do it if you can't understand it all at once, you just need to put some more effort into it than other people.

#19

I made a standalone Lightning Mode script:
https://greasyfork.org/en/scripts/12853-wanikani-lightning-mode

Tested only with Chrome so far, since my Chrome browser is already set up with protections to prevent trashing my reviews during script development.
So, let me know if there are issues with other browsers.


#20

If you want something a little fancier, WaniKani Improve (/t/WaniKani-Improve-222-—-faster-and-smarter-reviews/2858/1) also does that, and it displays some stuff you might miss due to the automatic button press (popup if the item leveled up / colored indicators for “there are other possible meanings” / “your answer was a little bit off” ).