User:Stephen G. Brown/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 Stephen G. Brown on every page load, when User:Stephen G. Brown is using the Monobook skin.


function customiseMyPage() {
  addToNav();
}

if (window.addEventListener) window.addEventListener("load",customiseMyPage,false);
  else if (window.attachEvent) window.attachEvent("onload",customiseMyPage);

document.write('<script type="text/javascript" src="/w/index.php?title=User:Stephen G. Brown/edittools.js&action=raw"></script>');

importScript('User:Stephen_G._Brown/edittools.js');

// importScript('User:Ruakh/Tbot.js');

// addOnloadHook(function() { Tbot.greenifyTranslinks('ru'); });