Jump to content

User:MaranoFan/vector.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by MaranoFan (talk | contribs) at 17:10, 14 April 2016. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
Open main menu
	
EditStop watching
User:MaranoFan/vector.js
< User:MaranoFan
This is an old revision of this page, as edited by MaranoFan (talk | contribs) at 11:05, 11 October 2015 (Exam break ... Please take care of Meghan's articles in my absence...). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
This is an old revision of this page, as edited by MaranoFan (talk | contribs) at 11:05, 11 October 2015 (Exam break ... Please take care of Meghan's articles in my absence...). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff)  Previous revision | Latest revision (diff) | Newer revision  (diff)
Code that you insert on this page could contain malicious content capable of compromising your account. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. The code will be executed when previewing this page.
	The accompanying .css page for this skin can be added at User:MaranoFan/vector.css.
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: hold down the Ctrl key and click the Refresh or Reload button. Firefox: hold down the Shift key while clicking Reload (or press Ctrl-Shift-R). Google Chrome and Safari users can just click the Reload button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*** BEGIN WIKIBREAK ENFORCER ***/
$(document).ready(function() {
 
	/*** Start editing here ***/
 
	// When you want to end your break?
	// no leading zeroes. (example: 9 - correct, 09 - incorrect)
 
	var date = { year: 2016, month: 4, day: 21};
	var time = { hours: 10, minutes: 00, seconds: 00 };
 
	/*** 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 = "//"+location.host+"/w/index.php?title="
			+ "Special:Userlogout&returnto=Main_Page";
	}
});
/*** END WIKIBREAK ENFORCER ***/
Talk
Last edited 2 minutes ago by MaranoFan
® MobileDesktop
Content is available under CC BY-SA 3.0 unless otherwise noted.
Terms of UsePrivacy
Close
Viewing source of	 User:MaranoFan/vector.js