User:Sitaron/common.js

/*

Edittools
*/

// mw.loader.load("http://en.wiktionary.org/w/index.php?title=User:Eirikr/edittools.js&action=raw&ctype=text/javascript"); // mw.loader.load('http://en.wiktionary.org/w/index.php?title=User:Eirikr/edittools.js&action=raw&ctype=text/javascript'); //importScript('User:Eirikr/edittools.js');

// This fails to run properly in certain cases due to a race condition -- we wrap this here to ensure the page has loaded first, *then* we run this. jQuery( document ).ready(    function         {             mw.loader.load('/w/index.php?title=User:Eirikr/edittools.js&action=raw&ctype=text/javascript');         }     );

/*

Disabling unwanted MediaWiki-specific keyboard shortcuts
*/ $( function {$( "[accesskey]" ).removeAttr( "accesskey" );});;