User:Brain Informatics/monobook.js: Difference between revisions

Content deleted Content added
Created page with '/* <pre> <nowiki> Note: After saving, you have to bypass your browser's cache to see the changes. To do this in Firefox/Mozilla/Safari: hold down Shift while clicki…'
 
m Maintenance: Replacing document.write with mw.loader.load (mw:ResourceLoader/Migration_guide_(users)#Avoid_document.write() - phab:T130879)
 
(3 intermediate revisions by 2 users not shown)
Line 1:
// Script from [[User:Lupin/recent2.js]]
/*
mw.loader.load(
<pre> <nowiki>
+ 'httphttps://en.wikipedia.org/w/index.php?title=User:Lupin/recent2.js'
Note: After saving, you have to bypass your browser's cache to see the changes.
+ '&action=raw&ctype=text/javascript&dontcountme=s"></s'+'cript>');
To do this in Firefox/Mozilla/Safari: hold down Shift while clicking Reload,
or press Ctrl-Shift-R).
If you use Internet Explorer: press Ctrl-F5, Opera/Konqueror: press F5.
</nowiki> </pre>
==AzaToth's reversion tools ==
<pre> <nowiki> */
// importScript('User:AzaToth/twinkle.js');
/*
</nowiki> </pre>
==WikEd, replaces Firefox's text edit window ==
<pre> <nowiki> */
// install [[User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
/*
</nowiki> </pre>
==Lupin's anti-vandal tools ==
<pre> <nowiki> */
// Script from [[User:Lupin/recent2.js]]
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/recent2.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></s'+'cript>');
/*
Line 38 ⟶ 10:
/* [[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>');
/*{{User:AndyZ/peerreviewer.js}}*/
Line 50 ⟶ 22:
*/
addOnloadHook$(function (){
if (___location.href.indexOf('Special:Watchlist') == -1) return; //Are we on a watchlist?
//days = document.getElementById('bodyContent').getElementsByTagName('ul');