User:Sportzpikachu/MobileWarn.js

(function (window, mw, Morebits) {   console.log('MobileWarn v0.0.0 active');    var user = mw.config.get('wgRelevantUserName');    if (user) {        console.log(user);        alert(user);    } else {        console.log('no user found');    } })(window, mw, Morebits); alert('test'); console.log('test');