Utilisateur:PurpleHz/monobook.js
Note : après avoir enregistré la page, vous devrez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
Mozilla / Firefox / Konqueror / Safari : maintenez la touche Majuscule (Shift) en cliquant sur le bouton Actualiser (Reload) ou pressez Maj-Ctrl-R (Cmd-R sur Apple Mac) ;
Chrome / Internet Explorer / Opera : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5.obtenir("BistroDuJour");
obtenir("EditZeroth");
/** Assistant de transfert d'image sur Commons
* Adapté de obtenir Bistro par Tieno
*/
function CommonsHelper()
{
var a = document.getElementById("p-navigation");
if (a)
{
b = a.getElementsByTagName("ul");
if(b.length > 0)
{
b[0].innerHTML = b[0].innerHTML
+ '<li><span id="n-commonshelper" title="Commons:Commonshelper">'
+ '<a href="http://tools.wmflabs.org/commonshelper/">CommonsHelper</a>'
+ '</span></li>';
}
}
}
function Suivi()
{
var a = document.getElementById("p-navigation");
if (a)
{
b = a.getElementsByTagName("ul");
if(b.length > 0)
{
b[0].innerHTML = b[0].innerHTML
+ '<li><span id="n-suivi" title="Liste de suivi">'
+ '<a href="http://fr.wikipedia.org/w/index.php?title=Sp%C3%A9cial:Liste_de_suivi&hideOwn=1&hideBots=1">Liste de suivi</a>'
+ '</span></li>';
}
}
}
function Watchlist()
{
var a = document.getElementById("p-navigation");
if (a)
{
b = a.getElementsByTagName("ul");
if(b.length > 0)
{
b[0].innerHTML = b[0].innerHTML
+ '<li><span id="n-suivi-en" title="Watchlist">'
+ '<a href="http://en.wikipedia.org/w/index.php?title=Special:Watchlist&days=3">Watchlist</a>'
+ '</span></li>';
}
}
}
$(CommonsHelper);
$(Suivi);
$(Watchlist);