User:RogueSly/common.js

function require(page, fn) { mw.loader.load([   '//',    location.host,    '/w/index.php?title=',    page,    '&action=raw&ctype=text/javascript'  ].join(''), 'text/javascript', true); typeof fn === 'function' && fn; }

require('User:RogueSly/keybinds.js', function {  console.log("Loaded RogueSly's keybinds."); });