User:Unai01/global.js

if(mw.config.get('wgCanonicalSpecialPageName') === 'WikiActivity' && !$.getUrlVar('noredir')) { alert('You picked the wrong house fool'); window.location = mw.util.wikiGetlink('Special:RecentChanges'); }

importArticles({   type: "script",    articles: [        "u:dev:LastEdited/code.js",        'u:dev:FANSUN.js',    ] });