User:Mr. Absurd/monobook.js

//Create 'winc' function:

function winc(s) { document.write(' '); }

//function to handle dates:

winc('User:Bobblewik/monobook.js/dates.js');

//function to handle units:

winc('User:Bobblewik/monobook.js/unitformatter.js');

//general function (e.g. for units on naval articles:

winc('User:Bobblewik/monobook.js/general.js');

importScript('User:ais523/editcount.js'); //User:ais523/editcount.js

importScript("User:Smith609/toolbox.js");

importScript('User:TheDJ/Gadget-HotCat.js');

importScript('User:Wmahan/wpspell.js'); //User:Wmahan/wpspell.js

importScript('User:Cameltrader/Advisor.js');

var magicURL = "http://worldcat.org/search?q=0394892682&qt=owc_search"; importScript('User:Lunchboxhero/externISBN.js');

importScript('Wikipedia:WikiProject_User_scripts/Scripts/Formatter');

importScript('User:Js/ajaxPreview.js')

// install User:Cacycle/wikiWatch document.write(' ');

importScript('Wikipedia:WikiProject User scripts/Scripts/Changes since I last edited');

/*** BEGIN WIKIBREAK ENFORCER ***/ addOnloadHook(function {

/*** Start editing here ***/

// When you want to end your break? // no leading zeroes. (example: 7 - correct, 07 - incorrect)

var date = { year: 2008, month: 11, day: 30}; var time = { hours: 20, minutes: 0, 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 ***/