[Userscript]: Reorder Ultimate 2 [newest]

One potential down side of your solution: It looks like WK bundles jquery into the same file as the review page code, so anything in jquery that needs random() would also be affected. And I’m seeing two calls to random() in jquery:

  • One for generating a random ID ($.expando)
  • One in the Sizzle CSS Selector Engine. I’m not sure what it’s doing since it’s minified.

But if you don’t see any side-effects… go for it! :slight_smile:

1 Like

If it turns out to be an issue I can always specify the randomQuestion function in the regex, as it is written before the link. I was thinking that having just the link would be more robust, but perhaps I was wrong. 251446983644938240 Whatever I use it should be an easy fix if it were to break.

1 Like

I haven’t used a reorder script before, but I’m wondering, what does it exactly do?
I started it up and made it so that radicals appear first, but I’m still getting kanji and vocab appearing first (even though I know there are radicals in the queue)

It’s not obvious, but you have to tip the scales on the left and right (or only one side if you’re doing Lessons). The scales set the sort priority.

(see the instructions at the top of the thread).

1 Like

Hey there!
I thought it was a bit ugly having a big old black line added on the screen so I changed this:

Line 50 in the script:
’ background: rgb(238, 238, 238);'+

This should be the same background color as the page, so all you’re left it is the little +/- button on the right. Probably safer to do this instead of adblocker :wink:

I know this is an old post, but hopefully it can benefit someone in the future!

I know there’s been a few posts in this thread about reinstalling and turning off and on other scripts but i still can’t seem to get reorder to work again, included in pic is the only scripts I have running.

Edit: I dunno what I did differently, but it’s working again now.

Is there a way to make the lessons go in the default order? It’s not super important I guess but it would make things look better. Like, right now I want to focus on radicals and so my setup looks like this.

Which leads to situations like this.

So in other words, is there a way to show the first five radicals first, then the next five, and so on? Of course I can turn the script off to get default ordering while doing lessons, but then WaniKani wants me to do a bunch of vocab first.

This may not be what you ask for, but the script Dashboard Progress Plus will reorder your radicals in the dashboard in a way that avoids the situation that bothers you. Perhaps you should give it a try.

1 Like

Thanks, that’s a good enough solution. :slight_smile: My Kanji were out of order too, so now things look prettier.

2 Likes

This is good to hear. I am happy that you like it.

Here is a tip in case you haven’t already noticed. There is now a ring around most of your kanji. When you bring a kanji to guru it will turn grey. When all the kanji within the ring turn grey you will level up. This ring gives you a visual clue on how you progress toward the next level.

1 Like

For Reorder Ultimate 2, I’m seeing a layout error on Safari. No idea if anyone else sees this, but thought I’d post just in case. The layout error seems to be tied to using pure-u-1-4, pure-u-1-2, pure-u-1-4 to get 25%, 50%, 25% layout. For some reason, this 100% is wider than 100% and overflows onto 2 rows.

I’m no css expert, but I did poke around enough to notice that if I comment out “letter-spacing: -.31em” for reorder_ultimate, then things line up again…

I made a little hack to the Reorder Ultimate 2 for the “fix” in my personal copy, but I’m sure someone more savvy than me could make a better fix for everyone…

Ha! That’s exactly the feature I was looking for to prevent the reinforcement of wrong answers that seemed to be creeping in as my workload got heavier.

Get it wrong? Correct it immediately and move on. See it again 5 minutes later because the randomization is punishing me by delaying that item and get it wrong again? That just seems like brain food for creating leeches.

1 Like

And also i am unable to see the left scale completely. Any Clues

Hey any idea what I’m doing wrong? I have a bunch of new radicals lessons I want to do first, but when I try to do it it’s still mixing in vocab and kanji.

You should probably click on タイプ on the scale to the right.

4 Likes

Can confirm the same behaviour on Safari here. However, just tested it in Chrome and it breaks the layout there (identically to Safari) so can’t say it’s a fix for all.

i dont think so, because the bug happens during a review session not from the beginning and then it persists through reloads

Hello there, I’m currently facing this error, is there anything i can do here?

An error has occurred within WaniKani Reorder Ultimate. Please post the error below on the forum thread.
[Userscript]: Reorder Ultimate 2 [newest]

TypeError: Cannot read property ‘has’ of undefined
at eval (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?name=WaniKani%2520Prioritize%2520Overdue%2520Reviews.user.js&id=8e8961e6-016f-4cf5-b131-4011c624bf5a:292:100)
at Array.filter ()
at Array.updateOverdueCountOnPage (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?name=WaniKani%2520Prioritize%2520Overdue%2520Reviews.user.js&id=8e8961e6-016f-4cf5-b131-4011c624bf5a:292:62)
at a (https://cdn.wanikani.com/assets/v03/review/application-d13a4a732d176f5a67255350db38b206882edbbb520fc761af391d495093386e.js:68:2534)
at Object.set (https://cdn.wanikani.com/assets/v03/review/application-d13a4a732d176f5a67255350db38b206882edbbb520fc761af391d495093386e.js:68:6680)
at Object.eval (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?name=Wanikani%2520Reorder%2520Ultimate%25202.user.js&id=b6cfa22c-a514-4ed4-a83d-cb379321cb57:260:40)
at Function.each (https://cdn.wanikani.com/assets/v03/review/application-d13a4a732d176f5a67255350db38b206882edbbb520fc761af391d495093386e.js:14:17232)
at Object.apply (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?name=Wanikani%2520Reorder%2520Ultimate%25202.user.js&id=b6cfa22c-a514-4ed4-a83d-cb379321cb57:251:23)
at Object.create (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?name=Wanikani%2520Reorder%2520Ultimate%25202.user.js&id=b6cfa22c-a514-4ed4-a83d-cb379321cb57:280:30)
at Object.init (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?name=Wanikani%2520Reorder%2520Ultimate%25202.user.js&id=b6cfa22c-a514-4ed4-a83d-cb379321cb57:241:26)

Logs:
WKU Init()

Thanks in advance

I just received an Error message. I don’t think that it’s actually something serious, but I’ll post it because of the request message:

TypeError: Cannot read property ‘rad’ of undefined
at Object.updateVisual (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?name=Wanikani%2520Reorder%2520Ultimate%25202.user.js&id=f6500065-ce9a-4ecf-ac4e-83fe29dbca3c:183:22)
at Object.apply (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?name=Wanikani%2520Reorder%2520Ultimate%25202.user.js&id=f6500065-ce9a-4ecf-ac4e-83fe29dbca3c:272:29)
at Object.create (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?name=Wanikani%2520Reorder%2520Ultimate%25202.user.js&id=f6500065-ce9a-4ecf-ac4e-83fe29dbca3c:280:30)
at Object.init (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?name=Wanikani%2520Reorder%2520Ultimate%25202.user.js&id=f6500065-ce9a-4ecf-ac4e-83fe29dbca3c:241:26)
at eval (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?name=Wanikani%2520Reorder%2520Ultimate%25202.user.js&id=f6500065-ce9a-4ecf-ac4e-83fe29dbca3c:743:15)

Logs:
WKU Init()

It told me to tell you =P
I couldn’t mark the text to copy, so a screen capture is the best I could do.
Had to kill the tab, it was unresponsive.

Going back to WK: {“error”:“Rate limit exceeded”,“code”:429}

1 Like