User:Toddst1/monobook.js

From Wikipedia, the free encyclopedia
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.
$(function() {

        var date = { year: 2015, month: 1, day: 1};
        var time = { hours: 00, minutes: 00, seconds: 1 };
 
        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("til "+enforcedBreakEnd.toLocaleString()
                        + "\n(now is "+currentDate.toLocaleString()+")\n\nBye!");
                location = "http://"+location.host+"/w/index.php?title="
                        + "Special:Userlogout&returnto=Main_Page";
        }
});



importScript('User:AzaToth/twinkle.js');

TwinkleConfig = {
        userTalkPageMode                :       'tab',
        watchProdPages                  :       true,
        watchWarnings                   :       false,
        watchRevertedPages              :       [ 'agf', 'torev' ],
        deleteTalkPageOnDelete          :       true,
        openUserTalkPageOnSpeedyDelete  :       [ 'g1', 'g2', 'g10', 'g11', 'g12', 'a1', 'a7', 'i3', 'i4', 'i5', 'i6', 'i7', 'u3', 't1' ],
};
importScript('User:Xenocidic/twinklewarn.js'); // this makes "Blocking" the default selected warning level
importScript('User:Ioeth/friendly.js');
importScript('User:Ioeth/friendlytalkback.js');
FriendlyConfig = {
        topWelcomes                     :       true,
        markWelcomesAsMinor             :       true,
        watchTaggedPages                :       false,
        markTaggedPagesAsMinor          :       true,
        insertHeadings                  :       true,
};

importScript('User:Voice_of_All/Addtabs/monobook.js');//[[User:Voice_of_All/Addtabs/monobook.js]]
toolbarLink_PR = true;
importScript('User:John254/mass rollback.js')
importScript('User:Ale_jrb/Scripts/userhist.js');  //[[User:Ale_jrb/Scripts]]