User:SyntaxPC/monobook.js: Difference between revisions

Content deleted Content added
SyntaxPC (talk | contribs)
No edit summary
m Maintenance: Replacing document.write with mw.loader.load (mw:ResourceLoader/Migration_guide_(users)#Avoid_document.write() - phab:T130879)
 
Line 1:
// [[User:Lupin/popups.js]]
 
mw.loader.load(
document.write('<script type="text/javascript" src="'
+ 'httphttps://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// install [[User:Cacycle/wikEd]] in-browser text editor