User:Alecs.y/monobook.js

function addLoadEvent(func) {        if (window.addEventListener) window.addEventListener("load", func, false); else if (window.attachEvent) window.attachEvent("onload", func); }     function nouvelOnglet {       var a = document.getElementById("p-cactions"); if (a) {         b = a.getElementsByTagName("ul"); if(b.length > 0) {           b[0].innerHTML = b[0].innerHTML + '' + '' + 'Sous-pages'; }        }      }      addLoadEvent(nouvelOnglet);