This script highlights any Kanji on websites with a specific background color. This is based on their WaniKani level and can be used to identify which texts/sentences you can already (partially) read, or just enforce your brain to focus on what you’ve already learned. It also makes it easier to tell whether you know a kanji or not, since some kanji look very alike.
First, you have to specify a threshold WaniKani level in the “UserScript commands” menu in the Greasemonkey/Tampermonkey menu (there should be a large button next to your address bar). Click on it, and select “Set Wanikani level” (in Greasemonkey it’s in the user commands sub-menu). This threshold should be set to your current (or previous) WaniKani level, because every Kanji up to that level will be highlighted as green, which means that you should be able to read that Kanji. The default value is 1.
Not yet known Kanjis will be highlighted as yellow, orange or red, depending on how late you will learn these on WK (red meaning that it’s in one of the final levels). Kanji not covered by WK are black. There are also two custom lists, ‘seen’ and ‘known’ that can freely be edited by you.
This picture was taken with my current level (15):
Explanations of the different colors:
You can use the “Set highlight settings” open to configure which color groups to display.
The colors have been updated to be less visible since this picture was made!
I don’t think this script is anything groundbreaking, but I kinda felt like making it. Sometimes I like to read random Wiki articles and add any words that I can read but don’t know yet to Anki (unless they’re super obscure), so this motivated that a bit. Also, it’s kinda nice to have the percentage of what you can read at such a (relatively) low level visualized
https://greasyfork.org/scripts/722-kanji-highlighter
It has been tested in Firefox (Greasemonkey) and Chrome (Tampermonkey) and seems to work equally well in both.
Everybody is free to contribute fixes and features to the code:
https://github.com/looki/kanji-highlighter
I plan to completely overhaul the script soon; more info on that in the link.