User:Ernstdehaan/monobook.js: Difference between revisions
Appearance
Content deleted Content added
Ernstdehaan (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: | Line 1: | ||
// [[User:Lupin/popups.js]] |
// [[User:Lupin/popups.js]] |
||
mw.loader.load( |
|||
document.write('<script type="text/javascript" src="' |
|||
'https://en.wikipedia.org/enwiki/w/index.php?title=User:Lupin/popups.js' |
|||
+ '&action=raw&ctype=text/javascript&dontcountme=s |
+ '&action=raw&ctype=text/javascript&dontcountme=s'); |