SHARE
TWEET

x-notifier_mail.ru

a guest Mar 8th, 2015 1,056 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**********************************************************
  2.     @MAIL.RU
  3.     @author: butekx // modified  by Kiryanov Nikolay kirn@bk.ru
  4. **********************************************************/
  5. var name="Mail.RU";
  6. var ver="2011-11-30";
  7. var hostString="mail.ru";
  8.  
  9. function init() {
  10.     var ar=this.user.split("@");
  11.     if(!ar[1])ar[1]="mail.ru";
  12.     this.dataURL="https://e.mail.ru/cgi-bin/msglist";
  13.     this.loginData=["https://auth.mail.ru/cgi-bin/auth",,"Password","Login="+encodeURIComponent(ar[0])+"&Domain="+encodeURIComponent(ar[1])];
  14.     this.viewURL="https://e.mail.ru/cgi-bin/msglist";
  15.     this.cookieDomain="mail.ru";
  16. }
  17. function getCount(aData) {
  18.     var fnd = aData.match(/g_mail_events.+?(\d+)<\/i>/);
  19.     return fnd?(fnd[1]?fnd[1]:0):-1;
  20. }
  21.  
  22. function getIconURL(){
  23.     return "http://img.imgsmail.ru/r/ru/favicon.ico?1";
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top