Utilisateur:Aither/monobook.js

Un article de Wikipédia, l'encyclopédie libre.

Note : Après avoir publié la page, vous devrez forcer son rechargement pour voir les changements : Mozilla / Konqueror / Firefox : Shift-Ctrl-R, Internet Explorer / Opera : Ctrl-F5, Safari : Cmd-R.

/* <pre><nowiki> */
 
/*
 * God mode
 * *** removeTitles = false si popups.js ! ***
 */
 
//document.write('<SCRIPT SRC="http://sam.zoy.org/wikipedia/godmode-light.js"><\/SCRIPT>');
document.write('<script type="text/javascript" src="' 
             + 'http://fr.wikipedia.org/w/index.php?title=User:Aither/godmode-light.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
/*
 * Navigation Supp
 */
 
document.write('<script type="text/javascript" src="' 
             + 'http://fr.wikipedia.org/w/index.php?title=User:Aither/navigationsupp.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
/*
 * Deluxe Summary
 */
 
document.write('<script type="text/javascript" src="' 
             + 'http://fr.wikipedia.org/w/index.php?title=User:Aither/deluxesummary.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
/*
 * Recent Changes auto hilight
 */
 
document.write('<script type="text/javascript" src="' 
             + 'http://fr.wikipedia.org/w/index.php?title=User:Aither/rcautohilight.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//document.write('<script type="text/javascript" src="'
//               + 'http://localhost/rcautohilight.js'
//               + '"></script>');
 
/*
 * Navigation Pop-ups
 */
 
document.write('<script type="text/javascript" src="' 
             + 'http://fr.wikipedia.org/w/index.php?title=User:Aither/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
removeTitles = false;
 
/*
 * Auto Refresh
 */
 
function refresh()
{
    window.location.href = unescape(window.location);
}
 
function refresh1min()
{
    // the timeout value should be the same as in the "refresh" meta-tag
    setTimeout( "refresh()", 60000 );
}
 
function refresh5min()
{
    // the timeout value should be the same as in the "refresh" meta-tag
    setTimeout( "refresh()", 300000 );
}
 
if (location.href.indexOf('Special:Recentchanges') != -1) {
  addLoadEvent(refresh1min);
}
 
if (location.href.indexOf('Special:Watchlist') != -1) {
  addLoadEvent(refresh5min);
}
 
/* </nowiki></pre> */