WaniKani Lesson Ordering II (obsolete, does not work)

I don’t know why some http:// pages have suddenly made a reappearance.  I noticed this a few days ago, but I thought maybe there was just something funky going on with my machine.  I actually made a little script for myself to make sure I’m always running WK under https.

Saponutti said…
So here’s an issue I found with both the reorder radicals/kanji and vocab.
So like I’ll start with this, with it showing me the lesson for 塔:
塔, 群馬県, 泊める, 擦る
Then I’ll press reorder and get this:
俺ら, 封, 髪, 沈む
but I’m still doing the lesson for 塔. When I finish 塔 lesson, I move onto 封 and completely skip 俺ら.
Then when I get to the quiz, I get quizzed on 俺ら, 封, 髪, 沈む, but not 塔.

This line in both reorder functions where you remove active item queue, 
    for(var i=0;i<actList.length;i++){         var it = actList[i];         actList.splice(i–,1);         lesList.push(it);         removedCount++;     }
should start at var i = 1, because the page doesn’t refresh when you reorder, so you’re stuck looking at a wrong lesson after the reordering and then you get quizzed on a lesson that you didn’t actually do.
 Ah, okay. Something weird is going on with Chrome… it works in Firefox.  You can just click on the first item in the queue at the bottom, and that will refresh it.  But I’ll take a look at it.  Thanks for letting me know.

Okay, I’ve made an update that should address both problems.  Please grab the latest version (1.3.3) and let me know if it still doesn’t work.

I have a quick question as both a wanikani newbie and a computer unsavvy.  When I click on the first link and install it, Firefox says I have done so successfully, and I can see it in my add-on manager.  My wanikani main page, however, hasn’t changed.  I can see on my phone that there is a “reorder” button, but on my computer nothing has changed, either on my main page or when I’m going through lessons.  Am I missing a step?  Thanks in advance.

What browser are you running?
When you’re in your lesson screen, what is the URL in the address bar?

@gth99

Thanks for the response.  I’m running Firefox, and I don’t have a lesson anytime soon, but I have a review in two hours, so I can give you the URL to that shortly. 

I’m also running Firefox… the script should definitely be working.  You’re running the latest version? (1.3.3)

Are you running any other scripts on that page?

@gth99

I think I’m running the latest version, the one you uploaded just a couple of days ago.  The only other script I’m running is Rikaichan in the background (since I don’t need it for wanikani- obviously!).  When the script is working, there is a visual indication, right?  There’s an option in the upper-right hand corner of the page about ordering things.  My page hasn’t changed, so I don’t think I did it properly.  I don’t know much about installing scripts, so I’ve got it in my add-on manager, but I don’t know what else I need to do.  Thanks!

I dunno, if you install it, it should just work.  Maybe try removing it and re-installing it?  If you’re still having trouble, maybe post a link to some screen shots so I can see what’s going on.

Updated to version 1.3.4.

This should fix the issue where the buttons sometimes wouldn’t show up until refreshing the lesson page.

Tested with Chrome and Firefox.  Please let me know if you have any trouble.

Thanks so much!! Works great!!

Hi, so I have no idea how to install scripts. Is it possible to use this script with WaniKani Mobile and if so how do I make it happen??

stuartcs87 said... Hi, so I have no idea how to install scripts. Is it possible to use this script with WaniKani Mobile and if so how do I make it happen??
 you can use it on computer browsers by installing tampermonkey (chrome), creammonkey (safari), or greasemonkey (firefox, i think). You can't use scripts with smartphone browsers, but if you have an android, there's an amazing free app for wanikani that i believe offers lessons reordering. just search "waniKani" and you'll probably find it. I personally have an iPhone, and while there is an app available, it doesn't offer lesson or review reordering.

The WaniKani mobile app for Android integrates older versions of the re-order scripts. You can enable them from the settings page. Unfortunately the app is no longer maintained so the scripts won’t be updated to use the newer versions and the app may stop working  at some point.

I don’t know about you guys, but for me this stoped working. Also after a Browser restart the buttons don’t come up anymore
Maybe time to move on?

doituinkognito said... I don't know about you guys, but for me this stoped working. Also after a Browser restart the buttons don't come up anymore
Maybe time to move on?
 If you can tell me what browser and platform you're running, I'll take a look.  Also, make sure your lesson URL begins with https:// instead of http://

And, are you running any other scripts?  Sometimes multiple scripts can interfere with each other.  Maybe try disabling some of the others to see if that makes a difference.

next level and i begin to realise, it doesnt seems to be a problem of the script but of me (because a second on i tried also doesnt work)
will use a new thread and assume for now, that your script is okay

gth99 said...
doituinkognito said... I don't know about you guys, but for me this stoped working. Also after a Browser restart the buttons don't come up anymore
Maybe time to move on?
 If you can tell me what browser and platform you're running, I'll take a look.  Also, make sure your lesson URL begins with https:// instead of http://

And, are you running any other scripts?  Sometimes multiple scripts can interfere with each other.  Maybe try disabling some of the others to see if that makes a difference.
 Also doesn't work for me. Firefox and chrome.  Doesn't appear anywhere

Windows or Mac?  Running any other scripts?  Did you try refreshing the lesson page?  https?

This is great, thank you so much!

I just installed that, and it works perfectly.
I wanted to finish my vocabs before beginning the new level, and it’s perfect for that.
Thanks a lot for sharing this !

I’m using chrome with tampermonkey, and just installed the script and everything worked fine. As simple as that.