# \[Userscript\] Better Lesson Picker

**URL:** <https://community.wanikani.com/t/userscript-better-lesson-picker/65016>\
**Category:** API And Third-Party Apps\
**Created:** [February 24, 2024, 8:48pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016 "2024-02-24T20:48:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![MysteryZA](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/mysteryza/32/672252_2.png) [@MysteryZA](https://community.wanikani.com/u/MysteryZA)\
**Post date:** [February 24, 2024, 8:48pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/1 "2024-02-24T20:48:22Z")

</div>

> ⚠ This is a third-party script/app and is not created by the WaniKani team. By using this, you understand that it can stop working at any time or be discontinued indefinitely.

### Installation:

- [Guide to installing userscripts](https://community.wanikani.com/t/visual-guide-on-how-to-install-a-userscript/12136)

- [Requires WaniKani Open Framework](https://community.wanikani.com/t/installing-wanikani-open-framework/28549)

- [Download here](https://greasyfork.org/en/scripts/488210-better-lesson-picker)

### Features:

- Allows you to drag and select items
- Adds inputs to quickly select the number of items per category
- “All” input prioritizes radicals \> kanji \> vocabulary
- Shift click to select from the previous selected item up to the item you shift clicked
- **Tip:** Use a large number to quickly select all items of a category

![betterpicker](https://global.discourse-cdn.com/wanikanicommunity/original/4X/7/b/d/7bdc656caa3abeb4ef45e3651deb90eb8a31497c.gif)

> **Changelog**
>
> v1.1.5: Update Turbo Events Library  
> v1.1.4: Fix Turbo page loading  
> v1.1.3: Fix CSS for Breeze Dark  
> v1.1.2: Shift click now works for deselecting, Fix UI  
> v1.1.0: Add “All” input, Add shift click functionality  
> v1.0.3: Fix UI  
> v1.0.2: Numbers greater than the total of an item type now get set to that total  
> v1.0.1: Minor UI improvements  
> v1.0.0: Initial Release

---

<div class="post-metadata">

**Author:** ![seanblue](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/seanblue/32/579844_2.png) [@seanblue](https://community.wanikani.com/u/seanblue)\
**Post date:** [February 24, 2024, 8:56pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/2 "2024-02-24T20:56:53Z")

</div>

Nice! I think this officially makes my Lesson Filter script defunct. I thought about eventually updating it to work on the lesson picker page, but happy to let it retire at this point. Really like your UI as well.

---

<div class="post-metadata">

**Author:** ![MysteryZA](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/mysteryza/32/672252_2.png) [@MysteryZA](https://community.wanikani.com/u/MysteryZA)\
**Post date:** [February 24, 2024, 9:01pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/3 "2024-02-24T21:01:35Z")

</div>

Thanks! I was actually hoping you would update your script, unfortunately by the time I started WaniKani it had already stopped working. Clicking items one by one was starting to drive me insane so I had to make this. The only UI I added was the 3 inputs so it’s hard to really go wrong there 😛

---

<div class="post-metadata">

**Author:** ![seanblue](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/seanblue/32/579844_2.png) [@seanblue](https://community.wanikani.com/u/seanblue)\
**Post date:** [February 24, 2024, 9:07pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/4 "2024-02-24T21:07:16Z")

</div>

> [@MysteryZA](#):
>
> Thanks! I was actually hoping you would update your script, unfortunately by the time I started WaniKani it had already stopped working.

Yeah I’ve just been super busy with other things unfortunately. It’s a shame since the lesson picker makes it fairly easy to set the selected lessons, so it probably wouldn’t take much to reimplement the script.

> [@MysteryZA](#):
>
> The only UI I added was the 3 inputs so it’s hard to really go wrong there

Still prettier than my UI. 😂

---

<div class="post-metadata">

**Author:** ![NeoArcturus](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/neoarcturus/32/732634_2.png) [@NeoArcturus](https://community.wanikani.com/u/NeoArcturus)\
**Post date:** [February 25, 2024, 9:05am UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/5 "2024-02-25T09:05:29Z")

</div>

Nice, very neat, I like it a lot!

---

<div class="post-metadata">

**Author:** ![LupoMikti](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/lupomikti/32/706068_2.png) [@LupoMikti](https://community.wanikani.com/u/LupoMikti)\
**Post date:** [March 3, 2024, 7:47pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/6 "2024-03-03T19:47:19Z")

</div>

Really happy to see someone made this. There are two things I’d like to see added to it, and if I have the time I’ll probably try and add them myself and share what was done.

First, I’d like there to be a way to tell it to select n items from each item type randomly instead of it being the first n items (something like a checkbox/toggle to say “select at random”).

Second, I’d like there to be a way to select all items of a certain item type. If the items are split across levels, it can be a pain to hit “Select All” for every level’s radical/kanji/vocab section; having a way to quickly say give me all items of [type] from all available levels would be nice (initially I’m thinking that entering in a negative number could do this, like automatically select all available of that type, but I’m not sure this is the most intuitive user experience).

Thank you for your work and contribution!

---

<div class="post-metadata">

**Author:** ![MysteryZA](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/mysteryza/32/672252_2.png) [@MysteryZA](https://community.wanikani.com/u/MysteryZA)\
**Post date:** [March 3, 2024, 8:25pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/7 "2024-03-03T20:25:32Z")

</div>

> [@LupoMikti](#):
>
> Really happy to see someone made this.

Glad you like it!

> [@LupoMikti](#):
>
> I’d like there to be a way to select all items of a certain item type. If the items are split across levels, it can be a pain to hit “Select All” for every level’s radical/kanji/vocab section

This is already possible if you enter any number \>= to the number of items of that type, so you can just enter a large number to select all, this is slightly more intuitive than your suggestion. I could add buttons to do this but will have to consider how to design the UI, I quite like how clean it is at the moment.

> [@LupoMikti](#):
>
> I’d like there to be a way to tell it to select n items from each item type randomly instead of it being the first n items (something like a checkbox/toggle to say “select at random”).

Interesting idea, should be pretty simple to do, I’ll implement it tomorrow 😃 although personally I’ll probably never use it 😂

---

<div class="post-metadata">

**Author:** ![LupoMikti](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/lupomikti/32/706068_2.png) [@LupoMikti](https://community.wanikani.com/u/LupoMikti)\
**Post date:** [March 3, 2024, 8:34pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/8 "2024-03-03T20:34:09Z")

</div>

> [@MysteryZA](#):
>
> This is already possible if you enter any number \>= to the number of items of that type

Oh, glad that it’s possible. I would have been worried that the user wouldn’t be able to tell how many of each type they have, but yeah they can just enter a sufficiently large number without counting like you say. Hopefully if they do this it automatically sets itself to the correct number?

> [@MysteryZA](#):
>
> Interesting idea, should be pretty simple to do, I’ll implement it tomorrow 😃 although personally I’ll probably never use it 😂

It’s mostly to get back a little bit of what seanblue’s script had with the ability to shuffle the items. Instead of shuffling after filtering, we just select at random instead and this achieves a similar (but ultimately different) effect.

---

<div class="post-metadata">

**Author:** ![MysteryZA](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/mysteryza/32/672252_2.png) [@MysteryZA](https://community.wanikani.com/u/MysteryZA)\
**Post date:** [March 3, 2024, 8:37pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/9 "2024-03-03T20:37:13Z")

</div>

> [@LupoMikti](#):
>
> Hopefully if they do this it automatically sets itself to the correct number?

Currently it will just display the number you inputted, not sure why I didn’t think of that. Will fix that tomorrow as well. Thanks for the feedback!

---

<div class="post-metadata">

**Author:** ![LupoMikti](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/lupomikti/32/706068_2.png) [@LupoMikti](https://community.wanikani.com/u/LupoMikti)\
**Post date:** [March 3, 2024, 8:38pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/10 "2024-03-03T20:38:04Z")

</div>

Actually, perhaps the random selection idea isn’t a very good one. I just remembered that there _is_ lesson order native to the items and sometimes the items will make use of ones you’re supposed to learn before it. So maybe scratch that random selection xD

---

<div class="post-metadata">

**Author:** ![MysteryZA](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/mysteryza/32/672252_2.png) [@MysteryZA](https://community.wanikani.com/u/MysteryZA)\
**Post date:** [March 3, 2024, 9:12pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/11 "2024-03-03T21:12:25Z")

</div>

Ah yea, I just looked at seanblue’s script now and was going to suggest that you could possibly achieve the same effect with Reorder Omega but then saw your post on the Reorder Omega forum 😂. Although even if you achieved shuffling after filtering you could still run into the same issue of getting an item that relies on another first. Will scrap the random selection then 👍 Will fix the large number issue now then quickly should be like a one line change.

---

<div class="post-metadata">

**Author:** ![NeoArcturus](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/neoarcturus/32/732634_2.png) [@NeoArcturus](https://community.wanikani.com/u/NeoArcturus)\
**Post date:** [March 12, 2024, 6:19am UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/12 "2024-03-12T06:19:00Z")

</div>

I think there was recently an update to the UI of the lesson picker?

 ![grafik](https://global.discourse-cdn.com/wanikanicommunity/original/4X/2/4/f/24f4547e727afe236cc00a2e830f7d1de0636f2f.png)

---

<div class="post-metadata">

**Author:** ![MysteryZA](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/mysteryza/32/672252_2.png) [@MysteryZA](https://community.wanikani.com/u/MysteryZA)\
**Post date:** [March 12, 2024, 6:23am UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/13 "2024-03-12T06:23:39Z")

</div>

I just saw it as well, will fix it tonight 👍

---

<div class="post-metadata">

**Author:** ![MysteryZA](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/mysteryza/32/672252_2.png) [@MysteryZA](https://community.wanikani.com/u/MysteryZA)\
**Post date:** [March 14, 2024, 8:14pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/14 "2024-03-14T20:14:15Z")

</div>

**Released v1.1.0**

- Added shift click functionality

> [@Today’s Lessons & Lesson Picker](https://community.wanikani.com/t/today%E2%80%99s-lessons-lesson-picker/64740/334):
>
> It would be nice if one could select multiple items in a row by pressing shift. Like, I could select the first item I want to practce, hold down shift, and select the last item.

- Added “All” types input it prioritizes radicals \> kanji \> vocabulary. This prioritization best fits my workflow if you would like it to work another way let me know, perhaps I’ll add some kind of setting to change the priority.

![image](https://global.discourse-cdn.com/wanikanicommunity/original/4X/b/d/a/bda637e3ab12073efb87c9261c8dd760b4336415.png)

---

<div class="post-metadata">

**Author:** ![MysteryZA](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/mysteryza/32/672252_2.png) [@MysteryZA](https://community.wanikani.com/u/MysteryZA)\
**Post date:** [May 18, 2024, 1:32pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/15 "2024-05-18T13:32:59Z")

</div>

**Released v1.1.2**

- Shift click now works for deselecting items as well
- Fix UI  
 ![image](https://global.discourse-cdn.com/wanikanicommunity/original/4X/9/3/d/93d89dc08ba7fb422c0e9796e263421585677b08.png)

---

<div class="post-metadata">

**Author:** ![MysteryZA](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/mysteryza/32/672252_2.png) [@MysteryZA](https://community.wanikani.com/u/MysteryZA)\
**Post date:** [June 4, 2024, 6:24pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/16 "2024-06-04T18:24:12Z")

</div>

**Released v1.1.3**

- Fix CSS to be compatible with Breeze Dark

---

<div class="post-metadata">

**Author:** ![LupoMikti](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/lupomikti/32/706068_2.png) [@LupoMikti](https://community.wanikani.com/u/LupoMikti)\
**Post date:** [June 4, 2024, 6:59pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/17 "2024-06-04T18:59:47Z")

</div>

When you say Breeze Dark do you mean the original or 2? I’m assuming 2 since the original doesn’t seem to be maintained anymore.

---

<div class="post-metadata">

**Author:** ![MysteryZA](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/mysteryza/32/672252_2.png) [@MysteryZA](https://community.wanikani.com/u/MysteryZA)\
**Post date:** [June 4, 2024, 7:09pm UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/18 "2024-06-04T19:09:59Z")

</div>

Yea I meant 2, although all I really did was change one of the hardcoded colours to a WaniKani variable so it should just work with any theme now.

---

<div class="post-metadata">

**Author:** ![MysteryZA](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/mysteryza/32/672252_2.png) [@MysteryZA](https://community.wanikani.com/u/MysteryZA)\
**Post date:** [July 28, 2024, 9:08am UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/19 "2024-07-28T09:08:25Z")

</div>

**Released v1.1.4**  
Now requires WaniKani Open Framework

- Fix Turbo page loading

---

<div class="post-metadata">

**Author:** ![toblbg](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/toblbg/32/469394_2.png) [@toblbg](https://community.wanikani.com/u/toblbg)\
**Post date:** [October 11, 2025, 9:08am UTC](https://community.wanikani.com/t/userscript-better-lesson-picker/65016/20 "2025-10-11T09:08:43Z")

</div>

Seems like this also broke with the new HTML on the lesson picker page but can be fixed by replacing isItem with the following:

> function isItem(e) {  
> const target = e.target.closest(‘.lesson-picker\_\_subject, .subject-character’);  
> return !!target;  
> }

[Next page](https://community.wanikani.com/t/userscript-better-lesson-picker/65016.md?page=2)
