@Kellamity I’ve made the Jisho and WaniKani links on the Kanji Search site actual links like you suggested. They still look the same, but you can now right-click, ctrl-click, press Enter, etc.
It seems that in lessons and reviews there is the CSS rule p, pre { margin: 1em 0; }
. I tried adding margin-top: 0
to your .ks-note li > p
rule and the grouping seems to be fixed.
I also noticed a problem with the CSS injection during lessons/reviews: the callback function you provide in wkItemInfo.append()
might get called multiple times (because there are multiple items in a review session), so injectStyle(css)
will add your CSS several times to the page.
I’ve fixed the margin issue. I’ve also added logic to prevent duplicate style injection. @Sinyaven you’re a life-saver
Your future vision impaired and assistive technology users thank you
I’ve updated the CSS style to look better in lessons, reviews, and extra study. Things should look more consistent now.
Thank you for all your hard work. This looks very useful, I’ll give it a try
Thanks for the compliments everyone!
I’ve released an update to make sure the Notes section always shows “None” if there are no notes.
Previously, there was a bug that caused the Notes section to sometimes be empty. This made it look like content failed to load.
I’ve added/updated notes
Love this script, been using it for a while now. However, I’m having this issue with this script and ‘Advanced Context Sentences’ active.
I’m not sure if this is a ‘bug’ or just two different scripts causing problems. I’d love it if this could be fixed since I have to disable one script or the other rn.
Advanced Context Sentence is not maintained anymore – the maintained version, Advanced Context Sentence 2, should be compatible with Kanji Search.
Thanks @Sinyaven! @PhoenixZZZ let me know if this doesn’t resolve the issue.
Thanks for letting me know, I wasn’t aware that there was a newer version. Downloaded it and can confirm that both scripts work fine.
I’ve fixed a bug that caused new lines to be ignored in remarks. A handful of multi-line notes have nicer formatting now (e.g. 尊敬語). I have and will continue to add/update notes daily.
I received my first donation today . Thank you to whoever it was
I’ve added/updated content. I do so daily, but only publish the changes in waves (usually every 2-4 weeks). Enjoy . Kanji Search is still alive and kicking even if there is not a lot of activity in this forum. I don’t really advertise. It’s a hidden gem for those lucky enough to find it.
The Kanji Search website and user script were broken for 15 min after I deployed an update that worked fine locally. Everything is working again. I learned that I can rollback to previous versions of my website/service instantly at the click of a button, so I’ll try to be faster next time
WaniKani has made big overnight changes to the HTML and CSS for Kanji pages. Vocabulary pages are likely to change in the near future as well. These changes have broken many user scripts (including mine). It could take a week before I get everything working again. Thank you for your patience. It’s not my fault
@Sinyaven just in case you didn’t know already, your WaniKani Item Info Injector script is broken on kanji subject pages (e.g. 会) because the HTML and CSS changed.
Thanks for letting me know. I have updated Item Info Injector:
My Kanji Search Notes user script works again. Thanks @Sinyaven