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.
So here it is. The code is based almost completely on that of the WK Fake Numbers script.
It’s my first time making a script, so… yeah… humble beginnings…
Effect: replaces lessons, reviews, next hour and next day numbers by 0: “none”; <42: “light”; <200: “medium”; >=200: “heavy”
Release notes:
Ver 1.4: Fixed the numbers in the navigation bar.
Ver 1.3: Updated to match the new page structure. The review preview on the side is still unaffected for now, though.
Ver 1.2: Extension: works also on the lesson and review pages. Can be toggled manually but setting the variable clobberall in the script (true clobbers all, false only clobbers the dashboard). Also thanks to @The1AndMany
Ver 1.1: bug fix: works correctly on the dashboard when accessing through the root of the WK site. Thanks @The1AndMany
Sorry to necro the thread, but I noticed that the script works fine at WaniKani — Log in, but doesn’t alter the “next hour” and “next day” numbers at www.wanikani.com. With a little tweaking, I managed to get it to work in both locations. Below is my change, please feel free to use it!
function isDashboard() {
if (window.location.pathname == '/' || window.location.pathname == '/dashboard') {
return true;
}
}
That was quick. Actually, I found another thing, if you’re up for it. As it stands, the review queue number on WaniKani — Log in and the lesson queue number on WaniKani — Log in don’t change, and the script throws an error. A little more tweaking, et voila!
if (window.location.pathname == '/review') {
var reviewqueue = document.getElementById("review-queue-count");
replaceIfNeeded(reviewqueue);
} else if (window.location.pathname == '/lesson') {
var lessonqueue = document.getElementById("lesson-queue-count");
replaceIfNeeded(lessonqueue);
} else {
var lessons = document.getElementsByClassName("nav")[0].children[1].children[0].children[0];
replaceIfNeeded(lessons);
var reviews = document.getElementsByClassName("nav")[0].children[2].children[0].children[0];
replaceIfNeeded(reviews);
}
Ah, yeah, historically, that was based on someone’s request to replace numbers on the dashboard.
The JS fails rather gracefully, so I never really noticed there was a problem on the other pages.
I’ll update that tomorrow, now is way past the time I should be in bed.
Thanks again!
The new wanikani dashboard overhaul has broken the script for the main dashboard but still works for the review summary page. could this please be updated!
Alright, I have updated the script. It seems to work for me, but let me know if there’s anything strange.
Edit: also, I have burned everything on WK, so I have no access to the review preview on the side, so I couldn’t update it to hide the number of reviews.
Bug report: The actual number of lessons (instead of the categories medium/heavy/etc.) are still shown in the header lessons and reviews button (you can find these buttons only when you scroll)