User:Leag/monobook.js

From Wikipedia, the free encyclopedia

If a message on your talk page led you here, please be wary of who left it. The code below could contain malicious content capable of compromising your account; if your account appears to be compromised, it will be blocked. If you are unsure whether the code is safe, you can ask at the appropriate village pump.
Note: After saving, you have to bypass your browser's cache to see the changes. In Internet Explorer and Firefox, hold down the Ctrl key and click the Refresh or Reload button. Opera users have to clear their caches through Tools→Preferences, see the instructions for Opera. Konqueror and Safari users can just click the Reload button.
//<pre><nowiki>
 
// Ajoute de la couleur aux historiques
loadJSFR('[[Utilisateur:GôTô/objects.js]]');
loadJSFR('[[Utilisateur:Dake/monobook.js/deluxehistory.js]]');
//loadJSFR('[[Utilisateur:Dake/monobook.js/deluxehistory_noajax.js]]');
 
// Onglet purger (OngletPurge)
loadJSEN('[[User:Leag/purger.js]]');
 
// Ajout de boutons pour le résumé des modifs (ResumeDeluxeModif)
//loadJSEN('[[User:Leag/resume.js]]');
 
// Personalisation de la boite de navigation (OptimizedNavig)
loadJSEN('[[User:Leag/navbox.js]]');
 
// Ajoute un onglet Editcount sur la page de contribution d'un utilisateur
loadJSEN('[[User:Leag/editcount.js]]');
 
// Navigation Pop-ups
loadJSFR('[[Utilisateur:Leag/popups-strings-fr.js]]');
 
document.write('<script type="text/javascript" src="' 
            + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
popupAdminLinks=true;
popupImages=false;
 
// Fonction pour charger un js
function loadJSFR(page){
  page=page.replace(/^\[\[(.*)\]\]$/, '$1');
  document.write('<script type="text/javascript" src="' +
                 'http://fr.wikipedia.org/w/wiki.phtml?title=' + page +
                 '&action=raw&ctype=text/javascript"></script>');
}
function loadJSEN(page){
  page=page.replace(/^\[\[(.*)\]\]$/, '$1');
  document.write('<script type="text/javascript" src="' +
                 'http://en.wikipedia.org/w/wiki.phtml?title=' + page +
                 '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}
//</nowiki></pre>