User:Tangotango/monobook.js

From Simple English Wikipedia, the free encyclopedia

Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror:: simply click the Reload button, or press F5; Opera users may need to completely clear their cache in Tools→Preferences.

// <pre><nowiki>

// Libraries
function loadJS(page,lang) {
  lang = lang || 'simple';
  document.write('<script type="text/javascript" src="' +
                 'http://' + lang + '.wikipedia.org/w/index.php?title=' + page +
                 '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}

// Helper tools
loadJS('User:Voice_of_All/Addtabs/monobook.js', 'en');
// UTC clock (and purge)
loadJS('User:Voice_of_All/UTCclock.js', 'en');
// Warnings
loadJS('User:Tangotango/warnings/monobook.js');
// Popups
loadJS('User:Lupin/popupsdev.js', 'en');

popupShortcutKeys=true;
popupSubpopups=true;
popupOnEditSelection=false;
popupStructure='shortmenus';
popupImages=false;
popupRedlinkRemoval=true;