User:Jyril/monobook.js

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Note – after saving, you may have to bypass your browser’s cache to see the changes.

  • Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
  • Konqueror and Chrome: click Reload or press F5;
  • Opera: clear the cache in Tools → Preferences;
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

This JavaScript is executed for Jyril on every page load, when User:Jyril is using the Monobook skin.


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

importScript("User:Jyril/hotkeys.js");
 
hotkeys = {
    'b' : 'Brooks was here',
    'l' : '',
    's' : '§',
    't' : '{| class="wikitable"\n! header\n! header\n|-\n| data\n| data\n|}\n'
}