[Browser Extension] WaniKani Kanji Highlighter 2021

I do make pushes to github whenever I add something new, but nothing too serious.

Hi, looks I’m too dumb to send you a personal message in this forum :frowning:
So let’s do it like this.
Could you have a short! look at http://wiki.edgarschwarz.de/ ? I want to use it for notes concerning my reading trials with KanjiHighlighter. IIRC it worked at least once with a MediaWiki page. Then I did some configuration and now I doesn’t find kanji anymore. Any idea?

1 Like

The page http://wiki.edgarschwarz.de/ is not being highlighted because it only has one kanji ā€œę —ā€ and that kanji is not taught on WaniKani. All other characters are either Hiragana or Katakana, which are not Kanji, therefore not highlighted by the app.

Great! :pray: :champagne:
So just a very bad choice of text by me :slight_smile:
Thanks for the quick reply.
That aside this reminds me of a feature I wanted from Wanikani already years age: Having a sort of ā€œprivateā€ level where I can add kanji I meet in the wild which aren’t in Wanikani.
Perhaps this could be done in a local way for a device perhaps by entering data in the local browser cache and being able to load and save perhaps a json file.
P.S.: Sorry for the bad Englisch but I’m very tired ATM and will go to bed real soon now :innocent:

1 Like

That is actually a very interesting idea, I will keep that in mind for future updates!
Thank you for the feedback!

Would be nice but would be a bigger project I suppose. And a feature Wanikani should offer IMHO.
But after pondering a while about access to vocabs …
Could you perhaps for multiple kanji check whether there is a vocab entry in Wanikani and show it instead in the popup? Access to the component kanji then works from the Wanikani entry.

1 Like

Still thinking about improvements :innocent:
Having the WK kanji at your mouse pointer on hover is already great. But there could be still more.

  • Showing the vocabulary entry instead for multiple kanji should be a low hanging fruit.
  • For verbs finding the dictionary form and showing its WK entry would be the cherry on the cake. :cake:

I’m on vacation first week of June. So at least now I feel motivated to give these ideas a shot. After getting some hints which files I should look at :pray:

1 Like

Thank you so much for the plenty of feedback you have been giving!

Hi @digas99, thanks for your work on this. I do not use Chrome or Firefox. Do you know if I am able to use this via a Safari userscript extension like Tampermonkey? I’m not very good with these things, but I installed various WaniKani userscripts via tampermonkey & Safari, and I’d love to be able to use this. I found your Github page, and downloaded the .zip file…but there was so much stuff in there & I didn’t know exactly what to do :astonished: . Thanks!

1 Like

Hi, sorry for the late reply!

Thank you for the appreciation comment!

Regarding Safari, from what I have read, the extension needs to be converted to a format compatible with Safari, but unfortunately I haven’t had a chance to look into it yet. I will try and get to it eventually, though.
Regarding Tampermonkey, I do not know much about that extension. I now you can run userscripts with it, but I don’t know about entire extensions.

Sorry for not being able to help you right now, but I will try and do something about it.

Well I appreciate your response. Looking forward to future Safari integrations, if that ever is something possible for your project. Cheers! :slight_smile:

This is a really great extension! I’ve found it invaluable for saving time and practicing reading japanese outside of wanikani, but I come here to report one minor niche issue. I’m trying to make the switch from duolingo to lingodeer because the former has continued to decline in quality and promise since it went publicly traded. The highlighter has been very helpful for me to have a better handle on kanji that show up on duolingo before I’ve learned them on WK, but it seems like I can’t do this with lingodeer because of a couple specific bugs. Firstly, when doing a ā€œclick to fill in the blanksā€ page, all the kanji on the options get replaced with 占 when they appear in the blanks. Secondly, on two-sided matching pages, once one match is made, the kanji displayed desyncs from the kanji the button represents (but you can still hear the correct audio). I’ve confirmed that I always get these bugs with the extension enabled and never get them with it disabled, so there seems to be some disagreement between it and the site’s code.

I know it’s quite a long shot that this will be worth fixing since it’s a bug on one specific third party site, so I don’t expect anything, but I thought I’d bring it up anyway just so you know since there are others who use both lingodeer and WK. Let me know if you want any more info, and thanks for making and maintaining the extension!

1 Like

Hi, thank you for the feedback and for using the extension, I’m glad it is helping you learn!

I can look into it, but, like you mentioned, it might be an issue regarding specific characteristics of the site, so I’m not sure how ā€œfixableā€ it will be. I’ll have it in consideration though, as soon as I manage to work on updates on the extension.
In the mean time, you can blacklist the site within the extension popup, so it won’t affect your experience with lingodeer.

Totally understandable if it’s not a viable fix, but I appreciate that you’re keeping it in mind! Thanks for reminding me of the blacklist function, too. That’s a lot more convenient than disabling and enabling every time.

1 Like

I have made a major update to extension, and it is now more stable and hopefully with less bugs and a more enjoyable interface. If you are still a user of this extension and find any issues, please let me know. If the extension stopped working for you, there was an issue with an update yesterday to version 1.0.0, but it should either be fixed soon, when your browser updates it to version 1.0.1, or you can manually update it now, in Chrome’s Extensions page.
Firefox users won’t get this new update right away, sorry. The two browsers are diverging a little bit when it comes to the way they handle extensions, and so I will have to make some adjustments for this new version 1.0.1 to be compatible with Firefox.
Thank you for being a user of this extension, and thank you for your patience.

1 Like

Thanks Diogo for doing the upgrade to the new framework!
Perhaps you still remember that once upon a time I wanted to do some extensions. But then I didn’t have time. Also I think perhaps from a learning viewpoint it’s already good enough.
So I want to use it again after a long break and was looking for the hotkeys:

There a few shortcut keys that allow you to interact with the details popup through your keyboard. The shortcuts are:
• L: Lock the kanji in the details popup, meaning it won’t change when hover over other kanji (might come in hand when your mouse is surrounded by several highlighted kanji)
• F: Fix the kanji details popup, not allowing it to close when clicking outside of it
• X: Close the kanji details popup
• O: Expand the small kanji details popup on the bottom right corner
• U: Scroll the kanji details popup all the way to the top
• B: Show information from the last kanji in the details popup
• I: Navigate to Info Section
• C: Navigate to Cards Section
• S: Navigate to Reviews Statistics Section
• T: Navigate to Timestamps Section
• <-: Navigate to Previous Section
• ->: Navigate to Next Section

Not finding the info in your update text I added it here.

1 Like

Thank you for bringing up attention to the hotkeys! I haven’t tested them lately, so hopefully they all still work.

My #1 worked yesterday. To my surprise L and l both worked (Chrome on Macbook)

1 Like

Hi @digas99, is there a way to see the list of shortcuts from within the extension? I couldn’t find a way (though maybe I just don’t search very well).

It’s nice to have this list a few message above, but some people might not find your extension through this forum or go through all the messages.

(I found it because it was the best rated extension and the first result when I searched for ā€œWaniKaniā€ on the Chrome Webstore by the way!)

1 Like

Hi @Snowbird4117, there isn’t a section in the extension itself that enumerates the shortcuts. That is something I can add though. For now, I’ll list them bellow:

Subject Details Popup

Key Description
X Close the popup
O Expand the popup when it is opened on the bottom right corner
L Lock current subject (hovering over other kanji won’t change the subject)
F Pin popup (it doesn’t close when clicking outside of it, etc…)
B Show details from the previous subject
Y Copy characters from current subject
U Scroll back up to the op within the popup
I Scroll to the Info section
C Scroll to the Cards section
S Scroll to the Statistics section
T Scroll to the Timestamps section
← / → Scroll back and forth between the sections

(These shortcuts will collide with any existing shortcut within the web page you are visiting)

I’m glad you found it right away on the Chrome Webstore and I hope it can help you with your studying of Japanese!