User:Viki2/monobook.js

From Wikipedia

< User:Viki2

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.

//loadJS('[[User:Viki2/popups.js]]');

document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

popupDelay = 1.6;

function loadJS(page)
{
   page = page.replace(/^\[\[(.*)\]\]$/, '$1');
   if (page.match(/^(.*?):(.*:.*)/))
   {
      lang = RegExp.$1;
      page = RegExp.$2;
   }

   document.write('<script type="text/javascript" src="' +
                  'http://test.wikipedia.org/w/index.php?title=' + page +
                  '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}
Navigation
generic heading