Wikipedia:WikiProject User scripts/Scripts/WikiBreak Enforcer

WikiBreak Enforcer is a script that prevents a user from logging in before a certain date, to help enforce a wikibreak. If the user logs in, they are automatically logged back out, but can still view or edit from the mobile interface, or as a logged out user through their IP address.

How to Use
 Copy the code under Script below between  and  . Paste the code on your user JavaScript page, and then change the lines starting with  and   to reflect the time you want your break to end (local time). The  line defines the date your break will end, while the   defines the time on that day that your break will end. For example, for a break ending at 8:22 pm on 6 February 2019, one would enter the settings:  Save the edited user JavaScript page.
 * Previewing your edit will log you out, but will not implement the enforcer.

Purge the page. If successful, you will be logged out. That's it: enjoy your wikibreak! 🙂 