User:Stevo/monobook.js

From Anarchopedia
< User:Stevo
Revision as of 14:52, 22 February 2007 by Stevo (Talk | contribs) (copie depuis Utilisateur:stevo/monobook.js)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* <pre> <nowiki> */

//============================================================
// 
// Monobook de Stevo
// 
//============================================================

//== Boite à outils ==

function PaletteOutils() 
{
  var a = document.getElementById("p-tb");
  if (a) 
  {
    b = a.getElementsByTagName("ul");
    if(b.length > 0)
    {
      b[0].innerHTML = b[0].innerHTML
      + '<li><span id="n-meta" title="http://meta.anarchopedia.org/index.php/Main_Page">'
      + '<a href="http://meta.anarchopedia.org/index.php/Main_Page">'
      + 'Accéder au Meta</a></span> </li>'
    }
  }
}
      
addLoadEvent(PaletteOutils);

 // ============================================================

/* </nowiki> </pre> */