Jump to content

User:Selmo/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Selmo (talk | contribs) at 21:08, 18 November 2006 (fixing). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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 import_external(page) {
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=' 
             + page
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

} 
addOnloadHook(
  function() {
  if(navigator.appName == "Microsoft Internet Explorer") {
    import_external('User:Selmo/MSIE.js');
 } else {
    import_external('User:Selmo/firefox.js');
} }
);