User:Lens0021/sandbox.js

if ( typeof mw !== 'undefined' && mw ) { mw.loader.using(['oojs-ui-windows']).done(function {		OO.ui.alert('Hello, World!');	}); } else { alert('Hello, World!'); }