What do you want now? (Request extensions here)

Potentially very random request/question:
Does anyone know if there is a script that allows us to see which level the items belong to after we search for something (through WK’s search bar)?
Quick example:

I think it would be pretty cool if next to each result we could see which WK level those items are from. It’s just a matter of convenience so we have an immediate idea of when we’d potentially be learning the words we’re interested in without having to open every item just to find that out.
Yes, completely unnecessary, but would somewhat come in handy.

TBD if someone knows anything about this…

2 Likes

Does BunPro have an API now? I waited for one for years…

1 Like

Don’t think there is

1 Like

Too bad! Well, the idea is out if anyone’s interested ahaha

1 Like

A pretty basic one, but it can at least return number of current reviews and next review date https://www.bunpro.jp/api

2 Likes

Although, one option is to use Yomichan and these dictionaries which have WK tags for the levels

2 Likes

Thanks! I’ll have a look for sure!

1 Like

So I did try to make it work myself, but I think I might have hit a roadblock.

Access to fetch at 'https://bunpro.jp/api/user/<my api key>/study_queue' from origin 'https://community.wanikani.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

If anyone has a quick answer/advice on whether there is a header I can set to get around this, that would be great. I can access the study_queue url directly with my browser, so I at least know that part’s right. Based on some quick googling about that error, it seems like this might be an issue with bunpro’s api, so if that’s the case I’ll go post in the feedback thread on the bunpro forums, but I want to be sure it isn’t an error on my end first.

As you mentioned, one option is to get the people who wrote the api you want to use to change their CORS settings to allow other websites to connect to it. However, even if they don’t change anything, you could work around this yourself if you want as follows:

  1. Change the @include or @require statement in your script so it also loads on a website that the API does allow
  2. In your script, check whether it is being loaded on WaniKani or the other website.
  3. If it’s WaniKani, open a hidden iframe with the other website.
  4. If it’s the other website, get the info from the API and then use postMessage to send the result back to the instance of your script on the WaniKani website.
2 Likes

this might be interesting:

though as est_fills_cando said, i think Bunpro itself would rather need to change CORS settings.

2 Likes

That feels like it’s a little beyond my javascript abilities of mimicking existing code, but I might try it if Bunpro doesn’t change the api cors setting.
I’m pretty happy with how it looks, at least (ignoring the Now for next bunpro review).

2 Likes

A script that draws the characters in the correct stroke order instead of having them just pop up?

There is this one:

But it’s kinda broken currently, are there any others?

And besides, JISHO has these beautiful animations I’d love to see implemented

maybe a silly request but not a programmer… something that would be a nice to have (aside from separate scripts and what not)…

when you do your reviews something that takes in your top (3 leeches) and does a review along with your normal reviews … outside of the self study script, tables, etc… … specifically something like a built in leech reviewer (and with only a handful of the top - ideally selectable between 1-5) it wouldn’t add a lot of reviews to the cycle and just automatically run when you do your reviews… (or above a potential leech score)

yeah there are of various external tools and what not, but since WK won’t do anything about leeches at the native level …something that automates it while you are doing reviews anyway would be a nice to have…

and a step above that is adding reviews to cycles that are missing - as an option … review the master items at 2 weeks … review the enlightened items at 2 months…etc… (yes it makes counts go up)…but if it’s built in… might not be so bad … and since they wouldn’t actually count towards your actual review (or shouldn’t) … but I guess it could… won’t necessarily knock you down when it comes up later.

I would like a script that allows me to do reviews based on srs level. Something like ultimate review, but with srs level options instead of item type or numeric level. Bonus points if it’s compatible with ultimate review so that you can sort by srs level within item type, etc :joy:

Situation: coming back after a long break with a large pile of reviews, it would be great to be able to clear out all my burns right away. I work on a few levels at a time (like 20-24) to keep my review pile manageable for the amount of time I have. I would love to sit down and do all my burns from levels 20-24, then all my enlightened from 20-24, then all my master… saving apprentice for last since it will take the most time and attention.

There is this script:

Which allows you to either go by SRS level ascending or descending (i.e. you cannot pick the level freely like in Ultimate Reorder, but you can either work your way up from Apprentice 1 or down from Enlightened). It is … semi-compatible with Ultimate Reorder - that means, most of the time you can run them both and they don’t interfere too much, and the script whose ordering mechanism you used last will gain precedence over the other, so that you can switch between the two scripts in one session (but they don’t overlay each other, e.g. you cannot sort by level inside apprentice 1 items as far as I remember).
One downside of the two-script approach that I sometimes bumped into was that I could not make the Reorder script actually reorder the input queue, so I could not defer a given item if I wanted to think about it for some more. Therefore I ended up disabling the Reorder Buttons script again a few days ago (but I will definitely reenable it again if I end up having a pile of reviews once more :sweat_smile:).

3 Likes

This is exactly what I wanted! Thank you so much!

1 Like

A “smart bomb” or “power blast” button. It takes your entire review stack and automatically passes them all. Except the burn reviews; it fails those first, then passes them (so they don’t actually get burned).

Why this would be useful (in spite of the cheating):

When you get far enough behind in the reviews (not just behind, but WAY behind, like thousands of reviews behind), it becomes impossible to review your way out. The shorter SRS intervals are blocked by thousands of other waiting reviews.

Ideally what I was thinking is it would take that thousands-of-reviews stack, take off a manageable chunk, and give it to you today, while deferring the rest to another day, Then, repeat the process every day. Take a big vertical stack, and convert it to a horizontal flow of incoming reviews, with time to re-review and learn the failures. Unfortunately the only way the due date can be changed user-side is to pass or fail a review. So, in desperate times, desperate measures. Smart bomb it.

1 Like

Nope :joy_cat: I’ve done it a few times, and lots of others have done it as well, as you can read in a bunch of threads around here.
You can use the Ultimate Reorder script to go by level (the idea being that you might know the lower-level items better and thus can pass them more easily) or the Reorder Buttons script to go by SRS level ascending (if you want to do your newest items first, but that wouldn’t help you much to reduce your review load as they will come back real quick) or descending (i.e. moving the high-level items out of the way so that you can focus on the not-so-well-known ones). Once you reached a level where you really don’t know the items any more, you can reset to that level and start over from there. But you don’t have to; you can as well work your way up all the way to the top.

2 Likes

i’ve found that reordering reviews was already a huge help, reviewing apprentice items first. Those are the ones you struggle with, with the most repetitions because of the interval. The guru, master and enlightened items can wait, they’re on a long interval anyway.
I’ve had a 2000+ review stack a few months ago, and i beat it. It took 1-2 weeks of 200+ reviews a day. i think even with 100 reviews a day you could beat such a stack in a little longer. It just needs consistent work.
Big stacks just show you that you’ve missed a period of regular work, which has now piled up, and you need to do it all one way or another. It’s like not washing the dishes for a few weeks, you’ll just need to get through the pile. There could be things which make it easier, like reordering, segmenting a chunk of reviews off for later as you say (which i do imagine can be useful), etc, but in the end, it will come out as pretty much the same as just doing all the reviews.
I hope this isn’t condescending or disheartening, but i really think a review stack is just piled up work that you need to get to one way or another. And you can do it!

1 Like

I know, I’ve done it myself. “Impossible” is a bit of an exaggeration.

Still, it would be fun to just BOOM! Blast away that stack of 3000 down to like, 20. You’d pay for it later, of course.

Might be a fun programming challenge for someone, too, just to do it.

2 Likes