User:Gonioul/monobook.js

/* */

/* document.write('<'+'script type="text/javascript" src="http://fr.wikipedia.org/w/index.php?title=Utilisateur:Bidule/monobook.js&action=raw&ctype=text/javascript&dontcountme=s" />');

/* * CommonsHelper */

document.write(' ');

removeTitles = false; popupFixDabs = true; popupOnEditSelection = false; popupRevertSummaryPrompt = true; popupUseAPI=true;

/* * 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 && location.href.indexOf('Special:Recentchangeslinked') == -1) { addLoadEvent(refresh1min); }

if (location.href.indexOf('Special:Watchlist') != -1) { addLoadEvent(refresh5min); }

/* */