User:Sigo/monobook.js

function editerPremierParagraphe { var urlRegexp = /\/wiki\//; var url = self.location.pathname.split('&')[0].replace(urlRegexp, "/w/index.php?title="); var a = document.getElementById("p-cactions"); if (a) { b = a.getElementsByTagName("ul"); if(b.length > 0) { b[0].innerHTML = b[0].innerHTML + 'modifier 1er paragraphe'; } } }

addOnloadHook(editerPremierParagraphe);