J'ai crée un script pour l'extension WebMailNotifier avec qu'elle fonctionne avec Free :
L'extension :
https://addons.mozilla.org/fr/firefox/addon/4490
Le script (il peut être améliorer en lui passant la langue FR pour être sur ...)
Code : Tout sélectionner
function initHandler(handler){
handler.name="WebMail Free";
handler.dataURL="http://imp4.free.fr/";
handler.loginData=["http://imp4.free.fr/login.php",
"horde_user","horde_pass"];
handler.mailURL="http://imp4.free.fr/imp/";
handler.getData=function(aData){
var fnd=aData.match(/<span dir="ltr">Bo.te de r.ception \((\d+?)\) <\/span>/); //nombre de mail non lu
if(fnd)
{
return fnd[1];
}
else
{
var fnd_aucun =aData.match(/<span dir="ltr">Bo.te de r.ception <\/span>/); //aucun mail non lu
if (fnd_aucun)
{
return 0;
}
else
{
return -1;//affiche message non verifié
}
}
};
}