Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**********************************************************
- @MAIL.RU
- @author: butekx // modified by Kiryanov Nikolay kirn@bk.ru
- **********************************************************/
- var name="Mail.RU";
- var ver="2011-11-30";
- var hostString="mail.ru";
- function init() {
- var ar=this.user.split("@");
- if(!ar[1])ar[1]="mail.ru";
- this.dataURL="https://e.mail.ru/cgi-bin/msglist";
- this.loginData=["https://auth.mail.ru/cgi-bin/auth",,"Password","Login="+encodeURIComponent(ar[0])+"&Domain="+encodeURIComponent(ar[1])];
- this.viewURL="https://e.mail.ru/cgi-bin/msglist";
- this.cookieDomain="mail.ru";
- }
- function getCount(aData) {
- var fnd = aData.match(/g_mail_events.+?(\d+)<\/i>/);
- return fnd?(fnd[1]?fnd[1]:0):-1;
- }
- function getIconURL(){
- return "http://img.imgsmail.ru/r/ru/favicon.ico?1";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement