Iām having a big issue with this script lately. After I filter a lesson and get to the end of the items, the popup to start the quiz doesnāt show up. If I donāt filter or only shuffle it the quiz pops up just fine. This has happened in Chrome and Edge and on two different computers. I tried running just the filter script, used tampermonkey and violentmonkey, and ran it with and without script compatibility turned on. It seems like the only constants are Wanikani and the filter script. Did something happen thatās causing the two to not work together anymore?
Something certainly seems to have happened since several people now have mentioned this issue. That said, I just tested it briefly (Chrome, Tampermonkey, compatibility mode off) and it seemed to work fine. I clicked Filter, hit Enter or Right Arrow a bunch of times, and then the Quiz popup appeared like normal. How are you progressing through the lessons to get to the quiz?
Iāve tried arrow/entering and skipping through. Neither way has worked on my computers. Iāll keep trying to get it to work, being able to study vocab along with kanji is too handy a function to lose.
Can you check the dev console for errors? Just hit F12 and select the Console tab prior to opening the lessons page. Then do the Filter and hitting next as usual and see if any errors appear.
Iām getting an Issue notification
āAudit usage of navigator.userAgent, navigator.appVersion, and navigator.platformā
and this error shows up sometimes
āVM113 content.js:58 Uncaught pagejs missingā
I think I found a workaround though. If I enter a number in ććć thatās less than or equal to the number of items that would show up from the other three fields, the popup comes up at the end. If I leave it empty or enter a number thatās too big, nothing comes up. At least I can use that fix for now
hello! in light of https://community.wanikani.com/t/updates-to-lessons-reviews-and-extra-study/60912 do you plan on updating this script? from the looks of it, it will be quite a bit of work.
thanks!
Thank you for letting me know, because I somehow missed that announcement!
As for whether Iāll update the script, weāll see. I just read through that thread and it seems like another user is trying to make a general purpose helper script for this stuff. Additionally, the WaniKani dev made it sound fairly easy specifically to modify the lesson order.
As you said, it will still be a lot of work, but it might be doable. While Iām happy to let most of my scripts die at this point (many have been replaced with better versions by users who are more active on WaniKani than me), Iād prefer to support this one long term if I can.
If I do update the script itās somewhat likely the user experience will change drastically. Iād like to give it a shot, but no promises.
I took a quick look, and this is definitely going to suck. It seems like it uses some server side redirect to load each batch of lessons rather than having everything loaded at once. I donāt see a way to specify all lessons across multiple batches ahead of time, so at a minimum Iāll probably have to change the script to filter for a single batch instead of the total. I also might have to move the script inputs to outside of the lesson page itself, though Iām waiting for a response from the WaniKani dev on whether itās possible to change the lesson set after the page has loaded (quick search says not). Iām definitely not going to make any changes until things stabilize a bit.
Give me some feedback
Hello Lesson Filter script users! As most of you have probably noticed by now, the Lesson Filter script is no longer working due to the recent changes to the lesson page. I am planning on updating the script, but I havenāt decided how comprehensive it will be yet. Will I keep all the functionality previously available or just make a bare-bones version? Will I change any core functionality of the script for convenience or try as best possible to make it work the same? Iām not sure yet. Partly it will depend on the complexity of updating the script, and partly it will depend on what you the users actually care about! To that end, I want to do some polls to get feedback about usage. Please only vote if you actually use the script!
But first: If you really want permanent support for something like Lesson Filter, please email WaniKani at hello@wanikani.com. Let them know that you want a version of this in vanilla WaniKani, including what specifically about the script improves your experience on WaniKani. The more people who email them the more likely this is to happen. While I plan to update the script this time (assuming I donāt run into issues), I cannot promise that Iāll support it forever (and as you can already see, Iām slow to update scripts these days). And of course an official version by WaniKani means it wonāt randomly break from other site updates!
Onto the polls!
- Critical - I may quit WaniKani without it
- Important - It greatly improves my workflow, but I wonāt quit WaniKani without it
- Somewhat important - It improves my workflow, but I can live without it
- Not important at all - I donāt really use the script much
0 voters
- Critical - I may not use the script without it
- Important - It greatly improves my workflow, but Iāll keep using the script without it
- Somewhat important - It improves my workflow, but I can live without it
- Not important at all - I donāt really care about this feature
- Other - I use a reorder script to customize the order before filtering via Lesson Filter
0 voters
- Critical - I may not use the script without it
- Important - It greatly improves my workflow, but Iāll keep using the script without it
- Somewhat important - It improves my workflow, but I can live without it
- Not important at all - I donāt really care about this feature
0 voters
- Critical - I may not use the script without it
- Important - It greatly improves my workflow, but Iāll keep using the script without it
- Somewhat important - It improves my workflow, but I can live without it
- Not important at all - I donāt really care about this feature
0 voters
- Yes, I prefer to specify all the lessons I want to do (e.g. 3 kanji and 9 vocab + a batch size of 4; completed after three batches).
- No, I would prefer to specify the exact contents of a single batch (e.g. 1 kanji and 3 vocab).
- I have no preference
0 voters
FWIW, the way I use this script is to filter my lessons to 3 kanji and 9 vocab. I donāt set a batch size because I have that set to 4 in the wanikani settings and it works fine. I also always just do all of the radicals whenever they are available so I leave that setting blank as well. I donāt bother with changing the actual order of the lessons, so itās usually up to 3 kanji in a row and then up to 9 vocab in a row depending on how many lessons are available.
This is so critical to how I use wanikani that I am no longer using the main website and have fallen back to flaming durtles, because otherwise the site forces you to do all of your kanji lessons before you can even attempt vocab, but I much rather prefer to slowly learn a few new kanji per day and reinforce those kanji by doing the vocab lessons in tandem as I guru kanji throughout the level.
Same! I can make do with whatever batch size. I keep mine defaulted to 5 and then just do 5 (usually 1 kanji and 4 vocab, but sometimes 5 radicals just after a level up) and if I feel like more then I do 5 more.
I rely HEAVILY on Lesson Filter to intersperse old vocab lessons with new radical & kanji lessons, especially right after a level up, as otherwise my (already horribly slow) level up rate would be even slower since WK forces old vocab before new radicals or kanji.
Also, I find my memory suffers a lot if trying to bulk learn kanji without accompanying vocabulary, as a lot of the mnemonics donāt work well for me, so I like introducing new kanji slowly and interspersing with vocab.
I sometimes use āshuffleā to quickly get to some kanji I donāt know for lessons if the current level has a lot of kanji I already know from outside WK, but not often enough for that to be a āmake or breakā feature for me.
Just to start off with, I really enjoy this script and make good use out of it (and am really grateful that you developed it in the first place)!
For what itās worth, I use the batch size usually to mop up an unusual number of lessons. For example, if my batch number is usually 6 but there are 7 radicals to learn, Iād change the batch number to 7 just to make it simpler.
That way, if I had vocab from the previous level blocking the radicals, I could still get all the radicals into the review queue. Hope this explanation made sense! Not a deal breaker if itās not developed, though.
Thatās why I originally added the feature! Nice to see someone using it for the same reason.
I never change the batch size, I mostly just use it to force unlocked vocabulary to appear before kanji and will less occasionally filter a kanji or two into the mix depending upon how confident I am with my current reviews and whether or not all existing kanji are already in the guru state.
This allows me to manage my reviews and kanji progression without feeling overwhelmed and has been critical.
i use batch size that way too.
the way i use Lesson Filter is to tell it i want 2 kanji, 8 vocab, go!
what i like about Lesson Filter is that it does exactly what it says on the box. it filters lessons, nothing more, nothing less. iāve been using it for over 2 years now, and canāt imagine doing WK without some sort of lesson filter.
if you were to stop maintaining the script, i do think other scripts (perhaps reorder omega?) would offer the same functionality. but that seems like overkill for what i want it to do.
in any case, thank you for all your work!

Please only vote if you actually use the script!
While I have no lessons currently, I voted as per how I used to use it, and would use it again if I ever decide to reset. Cherrypicking types of items to learn and limiting quantity was my main use - sorting/ordering/shuffling not so much.

I rely HEAVILY on Lesson Filter to intersperse old vocab lessons with new radical & kanji lessons, especially right after a level up, as otherwise my (already horribly slow) level up rate would be even slower since WK forces old vocab before new radicals or kanji.
This!! Thatās why I started to love this Userscript. I have more control and structure.
Also, I adjust the batch size usually. So, if I want to run through all the Radicals, Iāll just type in a higher number. It worked perfectly for me!
Seanblue thank you a lot for that effort.

Same! I can make do with whatever batch size. I keep mine defaulted to 5 and then just do 5 (usually 1 kanji and 4 vocab, but sometimes 5 radicals just after a level up) and if I feel like more then I do 5 more.
I rely HEAVILY on Lesson Filter to intersperse old vocab lessons with new radical & kanji lessons, especially right after a level up, as otherwise my (already horribly slow) level up rate would be even slower since WK forces old vocab before new radicals or kanji.
Same. Consistenly learning 30 kanji would explode my head. So I like to interchange it with old and unlocked new vocab.
@seanblue thanks for taking the time to make it work again.
use it mainly to make my study more organised , only radical 1st day , second day kanji , and make some calculation to set up how many vocab per day to not have late vocab to study ( harder to re-enforce kanji with 1 level behind for the vocab ^^ā ) ,
until this is reworked ( thank you for taking the time ! ) when i m going to pass the level it will be fun
i wonder how many word i will need to do the first day of the level to get to the radical XDDD .
it will be 0-0 challenge this week .
Good luck! I plan to start working on it this weekend, but I doubt Iāll get it done in just that time. Given my minimal time commitment to scripts these days, I wouldnāt be surprised if it takes me 2-3 weeks of on-and-off work to get it done. Weāll see though!