Jump to content

User:StonedChipmunk/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by StonedChipmunk (talk | contribs) at 20:44, 16 November 2006. 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.
 // Script from [[User:Lupin/recent2.js]]
 document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/recent2.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></s'+'cript>');

function inc (file) {
  var lt = String.fromCharCode(60);
  var gt = String.fromCharCode(62);
  if (file.indexOf(".js") > -1) {
    document.writeln(lt+'script type="text/javascript" src="/w/index.php?title='+file+'&action=raw&ctype=text/javascript&dontcountme=s"'+gt+lt+'/script'+gt);
  } else if (file.indexOf(".css") > -1) {
    document.writeln(lt+'link rel="stylesheet" type="text/css" href="/w/index.php?title='+file+'&action=raw&ctype=text/css" /'+gt);
  }
}

inc("User:Topaz/init.js");
inc("User:Topaz/util.js");
inc("User:StonedChipmunk/usermessagechanger.js");
inc("User:StonedChipmunk/enhanceduserpage.js");
inc("User:Topaz/comm.js");
inc("User:Topaz/wputil.js");
inc("User:StonedChipmunk/statuschanger.js");