mwil / wanikani-userscripts Goto Github PK
View Code? Open in Web Editor NEWUserscripts for the WaniKani.com website
License: GNU General Public License v3.0
Userscripts for the WaniKani.com website
License: GNU General Public License v3.0
In the past few days, none of my Tampermonkey userscripts were working on WaniKani, even though the extension and all the scripts were enabled. After debugging, I found the culprit to be the Keisei script. When that script alone is disabled, the rest of my userscripts work again as normal.
Please look into this; something must have changed recently, probably in the way WaniKani's site or Tampermonkey's extension works.
When I am in reviews and click on "item info" and click on the context tab, it still shows context sentences and not similar kanji. However when not in reviews the script functions as it is supposed to.
I STILL love your script, and it's STILL the only on I count as essential for getting through WK.
Noticed that the large icon, last in the list (pic below), has a meaning that is in Jisho, but not WK.
彰
しょう
Patent
WK meaning is only "clear": https://www.wanikani.com/kanji/%E5%BD%B0
Jisho.org meanings are "patent, clear" : https://jisho.org/search/%E5%BD%B0%20%23kanji
Originally posted by @Koolstr in #1 (comment)
Creating this to track an issue reported in the community thread. It seems that due to the nature of how Keisei and Niai are written, the functions added to the prototypes are unable to access the window object that is modified to have the Icons class on it resulting in the undefined errors but only when the user has no other scripts utilizing the Custom Icons library.
A potential solution is to pass in the window object to each closure. I'm unsure if this is the best approach though, and I am not very familiar with working with closures in javascript in the first place, else I might have foreseen and addressed this issue.
I posted a temporary fix users can do in the community thread.
Running Tampermonkey v4.13.616 on Firefox 91.0.1 on macOS Mojave.
After updating the script this week, it is no longer working. When I check Tampermonkey, it shows that the script is active on the page, but the phoenetic-semantic information is no longer displaying/loading on my lesson pages. Happens on both desktop and mobile (w/ Firefox Nightly for add-on support).
Is this a known issue? Any advice to troubleshoot?
LOVE your script and used it all the way through my WK. They should incorporate it into WK base.
The script has 諦 defined as Truth but "greyed out" as n/a, and it's correct that that meaning isn't included in WK.
But the kanji is included in L22 as 諦 Give Up.
It appears again "greyed out" in L27 締 Tighten.
Thanks.
Right now, the list of similar Kanji feels rather random.
Kanji that are not yet unlocked are mixed between Kanjis that have been already learned.
This results in big eye jumps especially on large screens, making it a bit harder to spot differences between Kanji.
Order list to show already learned items first, then locked ones after.
I can think of 2 ways:
When I try to add 苺 (Lvl 14 - Strawberry) to the list of similar kanji on another kanji's page, it says "Not in WK!" and won't let me add it to the page. I've tried this on multiple different kanji pages. I've also confirmed that I can add other kanji just fine. This one just seems to be missing for some reason.
Hi, don't know if this script is still being updated, but thought I'd give it a shot
There seems to be an issue lately where users (including me!) are having all of their installed scripts break on Wanikani. Disabling the Phonetic-Semantic script and reloading the page fixes it.
Sometimes, you can then reenable the script and have everything work, but sometimes everything just breaks again (in my experience)-- like, I couldn't get the script working in my lessons a few days ago, but then yesterday I could, and now today I can't again.
Anyway, the script is been super useful when it works, so thank you for making it! I'll keep trying to use it even if it does keep breaking!
About 2 weeks ago Wanikani had a major update to its font and icons handling. Part of that involved using SVG icons instead of font-awesome on Wanikani platform.
This seem to break Niai's menu bar (and perhaps other places) that relies on FontAwesome for icons.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.