If you’ve ever gained yourself a considerable number of pending reviews before, you might know the feeling of telling yourself that you’ll start then and there, but ending up just watching youtube or refreshing the WK forums. This userscript solves that problem, by either not letting you do that at all, or making you feel really bad, while you’re turning it off.
How it works
The userscript itself is quite simple, after activating it, you need to do 4 things:
- Navigate to the wk dashboard and press the new “Block” button that appeared
- Fill in the sites you want to block, one site a line, writing * blocks every site, the script will look for a partial match, so writing example.com will block everything that ends in example.com
- Choose a condition that will allow you visit these sites (more on this later)
- Fill in your API token. The default, read-only one is enough, easiest way to do this is going to the profile page and opening the popup there.
After these steps, whenever the set condition isn’t true, you will be automatically forwarded to the review page if you even dare to visit these sites.
Conditions
For now, there are 2 conditions
- Until at most x reviews remain: Pretty self explanatory, if you have more than the specified number of reviews pending, it will block you. Setting this to 0 makes you complete all your reviews.
- Until x reviews were completed: This looks at the reviews you completed today (from 12 am in your timezone), if you go below the specified number, you won’t be allowed further.
- I want to get rid of my reviews by x: This is a long term goal, input the date by which you want to get rid of all of your reviews, and every day you have to do daily amount towards that goal (beware, the number of reviews will increase as your reviews start coming back or if you do lessons)
I wanted to add a condition that triggers if you didn’t decrease the number of reviews you have by some number (so yesterday you had 900 reviews, so today’s goal is 850), but I don’t think this is possible. If you have an idea for a new condtion, feel free to mention it and I’ll try to make it real.
Installation
Visual guide on installing userscripts
Link to the userscript
Alternative uses
You don’t need to be 12 feet under your review pile to use this userscript, there are some other uses you could employ it for.
Are you a frequent streak breaker? Set the requirement to 1 review completed and the blocked sites to * (everything) to always be reminded about it.
Want to get rid of all your reviews every day? Set the reviews remaining to 0 and you will need to do it.
Ideas for the future
- Timed blocking, only block you if the condition isn’t true and it’s already past 8pm, or alternatively don’t block those sites if you’re after 7pm, because you need a break.
Issues and feature requests
Feel free to drop a reply if you’ve found an issue or you want to have a feature implemented. I’m terribly busy nowadays, but I’ll see what I can do.