User:BearMachine/monobook.js
Appearance
(Redirected from User:Rehjanis/monobook.js)
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin can be added at User:BearMachine/monobook.css. |
/*** BEGIN WIKIBREAK ENFORCER ***/
$(function() {
/*** Start editing here ***/
// When you want to end your break?
// no leading zeroes. (example: 7 - correct, 07 - incorrect)
var date = { year: 2009, month: 12, day: 17};
var time = { hours: 20, minutes: 22, seconds: 0 };
/*** Stop editing here ***/
var currentDate = new Date();
var enforcedBreakEnd = new Date(
date.year,date.month-1,date.day,time.hours,time.minutes,time.seconds);
if (currentDate <= enforcedBreakEnd) {
alert("Enforced wikibreak until "+enforcedBreakEnd.toLocaleString()
+ "\n(now is "+currentDate.toLocaleString()+")\n\nBye!");
location = "http://"+location.host+"/w/index.php?title="
+ "Special:Userlogout&returnto=Main_Page";
}
});
/*** END WIKIBREAK ENFORCER ***/
Retrieved from "http://wiki.riteme.site/wiki/Wikipedia:WikiProject_User_scripts/Scripts/WikiBreak_Enforcer"
Views
* Project page
* Discussion
* View source
* History
* Watch
Personal tools
* Try Beta
* Rehjanis
* My talk
* My preferences
* My watchlist
* My contributions
* Log out
Navigation
* Main page
* Contents
* Featured content
* Current events
* Random article
Search
Interaction
* About Wikipedia
* Community portal
* Recent changes
* Contact Wikipedia
* Donate to Wikipedia
* Help
Toolbox
* What links here
* Related changes
* Upload file
* Special pages
* Permanent link
Print/export
* Create a book
* Download as PDF
* Printable version
Languages
* Italiano
Powered by MediaWiki
Wikimedia Foundation
* This page was last modified on 16 February 2008 at 02:31.
* Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. See Terms of Use for details.
Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.
* Contact us
* Privacy policy
* About Wikipedia
* Disclaimers