Revision as of 04:40, 6 February 2021 view sourceLadsgroup (talk | contribs)Extended confirmed users, IP block exemptions, Pending changes reviewers, Rollbackers20,540 editsm Maintenance: Replacing addOnloadHook with native jQuery (mw:ResourceLoader/Migration_guide_(users)#addOnloadHook - phab:T130879)← Previous edit |
Revision as of 19:16, 26 March 2022 view source Ladsgroup (talk | contribs)Extended confirmed users, IP block exemptions, Pending changes reviewers, Rollbackers20,540 editsm Maintenance: Replacing document.write with mw.loader.load (mw:ResourceLoader/Migration_guide_(users)#Avoid_document.write() - phab:T130879)Next edit → |
Line 15: |
Line 15: |
|
//Interiot's javascript edit counter |
|
//Interiot's javascript edit counter |
|
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) { |
|
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) { |
|
⚫ |
mw.loader.load('https://en.wikipedia.org/search/?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); } |
|
document.write('<script type="text/javascript" src="' |
|
⚫ |
+ 'http://en.wikipedia.org/search/?title=User:Interiot/Tool2/code.js' |
|
|
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); } |
|
|
|
|
|
|
//<nowiki> Admin-like RC Patrol tools |
|
//<nowiki> Admin-like RC Patrol tools |