[Userscript] Wanikani Procrastination Annihilation

THE DAYS OF PROCRASTINATION ARE OVER

Yes, i’ve said it! No more reviews piling up to a horrifying number… At least not if the reason is our beloved forum.

If you’re anything like me, you like browsing the forum. And sometimes, if you’re having a particular chattygator day, it might even distract you from the real purpose of Wanikani: learning kanji. These are often the kind of days you’re a bit weak-willed, and don’t feel like doing reviews (not a good plan, trust me).
But remove the distraction => do some work => be rewarded. It’ll feel good, because you actually earned it!



Features
 - Hides the forum section on the dashboard when in lockdown mode (happens when you have reviews)
 - Do at least 50% of your reviews to unlock the forum
 - Resets from “unlocked mode” after 30 minutes if there are still reviews to be done
 - Smart-ass Detector: redirects crafty users who try to access the forums via URL

Added features in latest version (v1.2.3)
 - Hides the Active Topics panel (if this script is installed)

Planned features
 - Settings: users have greater control over variables, such as reset interval and percentage of reviews that need to be done
 - Include lessons

How to install

- Make sure you have the Greasemonkey (Firefox) or Tampermonkey (other browsers) add-on installed, so you can enjoy userscripts.
- Go to https://greasyfork.org/en/scripts/14972-wanikani-procrastination-annihilation
- Click the green button
- Done

Change log:

v1.2.3
 - Fixed bugs of previous (unstable) version. Added support for Active Topics Panel users.

v1.2
 - Changed storage type. This should make the script more stable in non-Firefox browsers.

v1.1
 - Added offset for trivial amounts of reviews
 - Display forum lock message on “https://www.wanikani.com/” (previously only on https://www.wanikani.com/dashboard)

v1.0
 - Hides the forum section on the dashboard when in lockdown mode (happens when you have reviews)
 - Do at least 50% of your reviews to unlock the forum
 - Resets from “unlocked mode” after 30 minutes if there are still reviews to be done
 - Smart-ass Detector: redirects crafty users who try to access the forums via URL

Note: this has been developed and tested in Firefox. Let me know if other browsers have difficulties.



1 Like

This sounds so cool!! I love how it works as a reward system. No forums until you do your reviews. ψ(`∇´)ψ

LOL! I think it’s a great idea!

Yeah, this looks pretty much awesome. I’m fairly happy with my current level of procrastination (which is to say I’m not currently that bad I don’t think) but super neat. Plus it made me laugh that you assume people will try to sneak their way through and in turn already thought of blocking them back out. 

Cassykins said... Yeah, this looks pretty much awesome. I'm fairly happy with my current level of procrastination (which is to say I'm not currently that bad I don't think) but super neat. Plus it made me laugh that you assume people will try to sneak their way through and in turn already thought of blocking them back out. 
 Know thyself... Had to make it airtight for my own personal use! I can be a world-class procrastinator and I know I'd do it that way.

The Customizer used to do this! Was very annoying…
I wouldn’t be adding it anyway, but I hope it wouldn’t redirect you mid post! Could be infuriating!

I’m a proud member of the Secret Procrastinators Club… oh whoops! You read nothing!!                                                                                               [¬_¬]



What are the bars above your apprentice-guru-master-burned numbers from?

Despite being a master of procrastination I very rarely have over 120 reviews at a time. When I do, I just cry my way through them.

EskimoJo said... The Customizer used to do this! Was very annoying...
I wouldn't be adding it anyway, but I hope it wouldn't redirect you mid post! Could be infuriating!

I'm a proud member of the Secret Procrastinators Club... oh whoops! You read nothing!!                                                                                               [¬_¬]

 Lol, coming back to check on the topic and i had to do a few reviews first -_-
I'll probably build in some kind of offset in the next version.

Never used that customizer before. I looked it up and it was only released for Chrome (not available anymore) and Safari (don't use that) a very long time ago.

And no, it only redirects upon page load. I don't have the JS skills to do active polling and it would be both annoying and bad for performance (i think).
kaiken said... What are the bars above your apprentice-guru-master-burned numbers from?
 That's @rfindley's Ultimate Timeline. You can download it here: /t/Userscript-WaniKani-Ultimate-Timeline/10516/1

Mempo said...
kaiken said... What are the bars above your apprentice-guru-master-burned numbers from?
 That's @rfindley's Ultimate Timeline. You can download it here: /t/Userscript-WaniKani-Ultimate-Timeline/10516/1

 Thanks!

I know what I’m installing once I get on my computer 
HINT: This.

Aztrex said... Despite being a master of procrastination I very rarely have over 120 reviews at a time. When I do, I just cry my way through them.
 At Level 33,  surely you must wake up to over 100 reviews all the time.

I don’t procrastinate on my reviews, but I do check the forums more often than I’d like. Could there be an option to make the forums hidden all the time?

Said I was going to install this when I got on the computer. Then I got distracted by forums for an hours once I got on.
I’ll install this now then finish up my reviews. Sigh~

Bwahaha - I don’t know what I was expecting. 
Too bad my procrastination comes from browsing other sites. 

Using Tampermonkey on Chrome, it’s not working. It gives me the popup that takes me to the settings page, then it doesn’t do anything once it gets there. If I cancel it, it makes another popup every time I move to a page on WK saying “User not found”. I think I made it work by just manually setting apiKey in the script itself, but that seems inelegant.

TheySayMoop said... Said I was going to install this when I got on the computer. Then I got distracted by forums for an hours once I got on.
I'll install this now then finish up my reviews. Sigh~
 LOL. Another good example would be procrastinating by reading anti-procrastination articles. I do that more often than I'd like to admit.
Reckard said... I don't procrastinate on my reviews, but I do check the forums more often than I'd like. Could there be an option to make the forums hidden all the time?
Sure. Seems a bit harsh though. And if it's just a checkbox, what's there to stop you from unchecking it when you feel bored? I'll think about a better solution for this.

mahum said... Bwahaha - I don't know what I was expecting. 
Too bad my procrastination comes from browsing other sites. 
Sorry, can't help you there. Already plenty of plug-ins for that.

NordicRest said... Using Tampermonkey on Chrome, it's not working. It gives me the popup that takes me to the settings page, then it doesn't do anything once it gets there. If I cancel it, it makes another popup every time I move to a page on WK saying "User not found". I think I made it work by just manually setting apiKey in the script itself, but that seems inelegant.
 Do you have slow internet? Technically nothing could go wrong, but while testing, sometimes i would hiccup because the script didn't load properly.

EDIT: now i think about it, it's quite possible Tampermonkey and Greasemonkey scripts are not totally interchangeable. I'll test it on Chrome today.
Mempo said...
NordicRest said... Using Tampermonkey on Chrome, it's not working. It gives me the popup that takes me to the settings page, then it doesn't do anything once it gets there. If I cancel it, it makes another popup every time I move to a page on WK saying "User not found". I think I made it work by just manually setting apiKey in the script itself, but that seems inelegant.
 Do you have slow internet? Technically nothing could go wrong, but while testing, sometimes i would hiccup because the script didn't load properly.

EDIT: now i think about it, it's quite possible Tampermonkey and Greasemonkey scripts are not totally interchangeable. I'll test it on Chrome today.
 I have 8/1 Mbps. Not amazing, not horrible. Computer is mid-range parts from 2013, so not super slow. Script does not work, even with the API key being entered manually. I think the problem's with Tampermonkey/the script.