[Chrome Extension] Yet another WaniKani Notifier (API v2)

:warning: 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.

As the title suggests, the notifier I was using stopped working when WK moved to API v2, so I built a new one. Was it necessary? Certainly not. Did I have fun building it? Sure, let’s say it was fun. Does it make the world a better place? That’s not for me to say.

If you too are looking for a convenient way to always be reminded of that heap of reviews you’re postponing while doing literally anything else on the internet, this is the extension for you!

FEATURES:
Notifies you when your reviews are due. There’s not much else to it.

  • A badge shows how many reviews are due.
  • Click on the extension to open a pop-up with links to your lessons and reviews.


Screenshot from 2020-09-12 22-57-06

Jokes aside, I made this basically because 1) I needed it and 2) I had a free weekend (luxury, I know).
I wasn’t sure whether to post it here or not since there are already plenty of these things, but here you go. Hope someone finds it useful!

P.S. This was my first time writing a Chrome extension AND my first time posting something here.
Too many firsts, I'm a bit overwhelmed!

UPDATE 02/02/2021 - Version 1.1.1 now LIVE

Due to the overwhelming demand (1 suggestion by 1 user) I've released an update to the extension that let's you enable lesson notifications as well.

NEW in version 1.1.1

You can now find a tickbox in the settings page to get politely reminded of your lessons as well.
The box is unticked by deafult, so if you don’t need the constant reminder there’s no change for you.

If you like the pressure however, you can go and tick the box.

You’ll get a badge with your lessons count ONLY if you’re done with your reviews.

Screenshot from 2021-02-02 18-23-28
Screenshot from 2021-02-02 18-24-16

NEW in version 2.0.1 - Released June 2022

Reworked to be compliant with Chrome extensions manifest V3.

As a consequence of the above, I had to change timers to alarms, which limit API calls to one per minute (fine most of the time, mildly annoying while in the middle of reviews).

Added support for vacation mode in the settings (hide your reviews count and stops API calls while on vacation). Note that this is independent from the WK setting - you’ll have to update both!

11 Likes

Was “YAWN” deliberate? :stuck_out_tongue:

4 Likes

:exploding_head:

3 Likes

Neat

3 Likes

this works great, thank you!

1 Like

Works flawlessly, thank you so much! So glad to have this back. The icon is much nicer too, and I love the embedded menu to instantly head to reviews or lessons. Well designed extension. I left a positive review for it. Thanks again!

1 Like

みなさんこんばんは!
Quick announcement to say I just released a small update with extra functionality.
All details in the :top: post

1 Like

Just wanted to say, I love this addon! Always nice to have my current WaniKani count in the top right corner of my browser. Thanks!

1 Like

Hey @BleckJeck, thank you for this wonderful extension! Honestly it’s just perfect, a small unintrusive number in the corner of my eye that lets me know reviews are waiting for me…

Do you think you could make it accessible on GitHub? That way we can contribute to it ^^

Thanks, glad you find it useful! :blush:

By all means, feel free to send me a pull request if there’s anything you’d like to implement.
One disclaimer though - I made the extension primarily for myself, I do still use it daily and it currently works exactly as I want it to (haven’t touched the code in the last 2 years).

This is just to say that any change/addition to the current behaviour would need to be optional (e.g. a tickbox in the setting page) rather than replacing existing functionality.

On the other hand, design changes are very welcome (e.g. if you can find a way to override Chrome default behaviour for dark themes) as that’s really not my strong suit!

Noted, thank you ^^

Could you please elaborate? I use a dark theme on Chrome and the problem I noted was that the icon was hard to see, I’m not sure if that’s what you mean…

image

Not exactly, but I see what you mean. I was referencing the colour of the number of lessons/reviews. Apparently there is no way (that I could find, anyways) to make them responsive based on the current theme and Chrome just “decides” which colours fit best. Normally this should result in light themes having dark-coloured numbers and dark themes having light-coloured numbers. Unfortunately this is not always the case, resulting in review numbers being hard to read for a minority of users. AFAIK Chrome considers this expected behaviour and I had to just live with that.

Re the icon itself being hard to see, I’ll admit that’s just me being lazy. It’s a PNG with a transparent background that I threw together without much consideration. It works well on light themes (which, as you may guess, is what I use) but admittedly rather poorly on dark theme.
Should be very easy to fix just by adding a background colour, I simply never had the time to go back and actually fix it but can certainly look into it.

I’ve created issues in GitHub. Honestly it’s in your right to be lazy, frankly giving us this extension and a GitHub repo is great ^^

I might have a look into this if I have a bit of time, but I can’t guarantee anything.

1 Like

Thank you, much appreciated! I might try and find some time as well, haven’t had many chances to write code lately and I kinda miss it tbh.

Thanks for all the interest and help with logging the issues on GitHub!

1 Like