User:Speeditwo/global.js

mw.loader.using('mediawiki.Title').then(function {   var jwbPath = new mw.Title('AutoWikiBrowser/Script', 4).getUrl,        curPath = new mw.Uri.path;

if (jwbPath === curPath) { mw.loader.load('mediawiki.action.history.diff'); $('link[href*="modules=user"]').prop('disabled', 'true'); } else { importScriptURI('/load.php?debug=false&lang=en&modules=user&only=scripts&skin=oasis&user=Speedit&*'); } });

importScriptPage('User:Joeytje50/JWB.js/load.js', 'https://en.wikipedia.org/w');