User:Rich Wales sans superpowers/common.js

if (false) { // different background colours if using HTTP vs. HTTPS document.body.style.background = "none"; if (document.URL.match(/^https:/)) document.body.style.backgroundColor = "#eeffff"; else document.body.style.backgroundColor = "#ffffee"; // importScript('User:Richwales/dropdown-menus.js'); // /* block display of "bad" images */ // importScript('User:Mr.Z-man/badimages.js'); /* disable Wikipedia access keys/keyboard shortcuts */ ta = false; // user:js/watchlist if (wgCanonicalSpecialPageName == 'Watchlist') importScript('user:js/watchlist.js'); // User:Lupin/popups.js // document.write(' '); /* options for "Comments in Local Time" */ LocalComments = { dateDifference: false, dateFormat: 'dmy', timeFirst: true, twentyFourHours: true, dayOfWeek: false, dropDays: 93, dropMonths: 24 }; // /* from User:Lupin */ // importScript('User:Lupin/recent2.js'); /* from User:NuclearWarfare */ //importScript('Wikipedia:WikiProject User scripts/Scripts/Six tabs'); importScript('User:Smith609/toolbox.js'); // importScript('User:Ais523/watchlistnotifier.js'); // importScript('User:NuclearWarfare/Mark-blocked script.js'); // importScript('User:Tra/sidebartranslate.js'); // importScript('User:ais523/adminrights.js'); // importScript('User:Misza13/viewSource.js'); // importScript('Wikipedia:WikiProject User scripts/Scripts/Changes since I last edited'); importScript('User:Richwales/live-edit-counter.js'); importScript('User:Richwales/markusers.js'); importScript('User:Dr_pda/prosesize.js'); /* Force preview */ /* by Marc Mongenet, 2006, fr.wikipedia. Modified to work for non-anons by Soxred93 */ /* User:Soxred93/forcepreview.js */ function forcePreview { if (wgAction == "edit") { document.getElementById("wpSave").disabled=true; document.getElementById("wpSave").value = "Save (preview first)"; document.getElementById("wpSave").style.fontWeight = "normal"; document.getElementById("wpPreview").style.fontWeight = "bold"; } } $(forcePreview); // importScript('User:Richwales/flagadmins.js'); // importScript('User:Dl2000/DateFix.js'); importScript("User:GregU/dashes.js"); importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool fixedSidebar = "never"; }