User:COMPDISC/monobook.js

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Note: After saving, changes may not occur immediately. Click here to learn how to bypass your browser's cache.
  • Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac);
  • Internet Explorer: 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.
 // [[User:Jsimlo/shortcuts.js]]
 document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Jsimlo/shortcuts.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 function shortcutsInit ()
 {
 
  shortcutsAddLink ('Cleanup', 'WB:WM');
  shortcutsAddLink ('Templates', 'Wikibooks:Template messages');
  shortcutsAddLink ('Ipblocklist', 'Special:Ipblocklist');
  shortcutsAddLink ('Monobook', 'User:COMPDISC/monobook.js');
  shortcutsAddLink ('Prefix index', 'special:Prefixindex');
  shortcutsAddLink ('Links', 'special:linksearch');
 }

// [[User:Lupin/popups.js]]

mw.loader.load(
             'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s');
popupAdminLinks=true

// [[User:Invitatious/unsigned2.js]] - unsigned comments script (enwiki)
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Invitatious/unsigned2.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

// install [[User:Cacycle/diff]] text diff code
document.write('<script type="text/javascript" src="' 
  + 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/diff.js' <!--wikEdSpaceLine-->
  + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

// install [[User:Cacycle/editor]] edit tool
document.write('<script type="text/javascript" src="' 
  + 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/editor.js' <!--wikEdSpaceLine-->
  + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

 // 

 addOnloadHook(function(){ var x; if (x=document.getElementById('wpAnonOnly')) {x.checked=false;} });

 addOnloadHook(function(){ var x; if (x=document.getElementById('wpCreateAccount')) {x.checked=true;} });

 addOnloadHook(function(){ var x; if (x=document.getElementById('wpEnableAutoblock')) {x.checked=false;} });

 //

// [[User:Dschwen/highlightredirects.js]] - please include this line 
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Dschwen/highlightredirects.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');