Misplaced Pages

talk:WikiProject User scripts/Scripts/WikiBreak Enforcer - Misplaced Pages

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Misplaced Pages talk:WikiProject User scripts | Scripts

This is an old revision of this page, as edited by SciAndTech (talk | contribs) at 20:06, 16 March 2007 (Possibile scenario: guess). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 20:06, 16 March 2007 by SciAndTech (talk | contribs) (Possibile scenario: guess)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Ways around the script

There are actually two ways around the script, but I'm not going to tell you :) — Nathan 22:16, 3 June 2006 (UTC)

Don't click here :-). AmiDaniel (talk) 22:38, 3 June 2006 (UTC)
Damn you, I wasn't about to tell! ;) — Nathan 22:23, 4 June 2006 (UTC)
The other one is far simpler... but I'm not telling either! haz (user talk) 13:14, 27 June 2006
This is such a wicked idea. I can finally get some work done out in RL – and some sleep! --Riana @ 14:41, 13 August 2006 (UTC)
Surely it's obvious to anyone that knows how to change the settings in an internet browser? Dave 23:17, 12 September 2006 (UTC)
There's also another easy way to bypass, but which, AFAIK, hasn't been mentioned here. I'll keep quiet; however, that bypass can be blocked by protecting your .js page. ;-) --Deathphoenix ʕ 13:15, 15 September 2006 (UTC)
Yup, I see what you mean. Dave 23:25, 24 October 2006 (UTC)
Yeah good job to all! — Seadog 03:21, 6 December 2006 (UTC)

Thanks for writing this, folks - a useful tool indeed. Now, here's a challenge for those well-versed in coding (as I am not): can WikiBreak Enforcer, or a variant, be designed to lock you out during certain hours, on an ongoing basis? The idea being, one could set it to lock up between midnight and 8 AM (time adjustable) to ensure at least a bit of sleep? --Ckatzspy 18:25, 9 January 2007 (UTC)

Oh yeah, that would be very helpful! (Of course, what I REALLY need is a program that blocks any access whatsoever to a number of favorite websites between those hours... But that's definitely beyond the scope of any Misplaced Pages script, lol!) --Icarus 23:00, 9 January 2007 (UTC)
Buy two computers and use one for serious work and one for other stuff. Have separate areas and times for doing different stuff. That can help compartmentalise addictive areas of your life. My solution is to continually switch between different things, and try not to get too involved in any one thing. Sometimes, though, this leads to being unable to commit to any one thing. Carcharoth 11:40, 12 January 2007 (UTC)

Possibile scenario

At risk of ignoring WP:BEANS, couldn't someone put this in someone elses javascript page? It could be quite disruptive for an inexperienced user, obviously the solution would be to log out and edit the monobook.js page, but many people wouldn't realise. James086Talk 12:13, 14 January 2007 (UTC)

Is it actually possible for one user to edit another user's monobook.js? That seems like a pretty big security hole... Mike1024 (t/c) 19:40, 14 January 2007 (UTC)
I don't know if there are any ways a person could hack into another's monobook.js, but it's not possible to do it normally. Only a logged in user can access their own monobook.js (maybe admins and/or sysops too; I dont know). You can only view the source, as if it's a protected page, if you're not logged in or logged in as a different user. The only possible misuse I can think of would be for an anonymous IP to use it, thus blocking any other users at that IP. --Icarus 22:15, 14 January 2007 (UTC)
Oh ok, I hadn't tried editing anyone elses js page, I guess it would be a pretty big security hole if you could. James086Talk 02:54, 16 January 2007 (UTC)
Anonymous IPs can't edit any monobook.js, even their own. So we don't have to worry about that... :) Registered users can't edit their IP address's corresponding one either --WikiSlasher 05:48, 16 February 2007 (UTC)
Anyone can edit their own monobook.js. Also, admins can edit anyone's monobook.js. I know because an admin once edited my monobook.js to remove part of one of my scripts that made it display on CAT:CSD, thus driving all the admins crazy. :) I got the script working after a while, though. Pyrospirit 15:13, 5 March 2007 (UTC)

A guess

Disabled your browser Java script and then try? Your wikibreak can be ended. Right? -- SAndT 20:06, 16 March 2007 (UTC)