티스토리 툴바



This is a user script for WEB.DE (freemail.web.de).
If you want to use it in WebMail Notifier, install this script.

Posted by (Byungwook Kang) 밝은영혼

댓글을 달아 주세요

  1. 비밀댓글입니다

    2007/09/01 04:46 [ ADDR : EDIT/ DEL : REPLY ]
  2. Flo

    Hi, now its really really great, thank you.
    I have a question. I use the Minimize to Tray Addon. Is it possible to switch the Tray symbol to a mail symbol if new Mails arrive? I think this would be great!

    2007/09/04 03:04 [ ADDR : EDIT/ DEL : REPLY ]
  3. Iskon WebMail

    2007/09/20 16:26 [ ADDR : EDIT/ DEL : REPLY ]
  4. Werner Fleischer

    Hallo,

    can somebody help me???

    How can I install the user script??

    Many thanks

    2008/04/07 00:23 [ ADDR : EDIT/ DEL : REPLY ]
    • simon

      du musst einfach das script kopieren und im editor als text einfügen. dann als .txt abspeichern und bei einstellungen auf user script klicken. dort kannst du es einlesen, dann ok klicken... in der liste kannst du dann auf web.de klicken, username und PW eingeben und fertig


      funktioniert echt perfekt

      2008/06/19 18:49 [ ADDR : EDIT/ DEL ]
    • Daniella

      Hallo,
      leider muss ich jedes mal wenn ich firefox starte das script fuer web.de neu einlesen... gehoert das so oder was ist da los?
      ansonsten super tool !!

      2008/06/20 02:57 [ ADDR : EDIT/ DEL ]
  5. 비밀댓글입니다

    2008/06/21 18:32 [ ADDR : EDIT/ DEL : REPLY ]
  6. gamut

    doesn't work for me with ff3... copied the script saved under "Webde_Skript_WebMail_Notifier.txt", there is the ok-button, but no web.de in the menu... can anybody help me?????

    2008/07/08 03:12 [ ADDR : EDIT/ DEL : REPLY ]
  7. RazorXL

    Hi, I made a script for CJB.net (http://webmail.cjb.net). After MANY MANY hours of unsuccessful trial-and-error, I finally got it working! Here it is:
    --------------------------------------------------------
    function initHandler(handler){
    handler.name="mail.cjb.net";

    handler.dataURL="http://webmail.cjb.net/action.php";

    var postData = "folder=INBOX&action=login&domainnum=0&lang=en&theme=standard&enter=Submit";
    // above, the 'lang=' (language) and 'theme="(page style) values can be changed:
    // lang option values include: "ar", "bg", "ca","cs","cy","da","de","en","el","es","farsi","fr","he","hr""is","it","lv","hu","nl","no","nn","pl","pt","pt-br","ro","ru","sk","sl","sr","fi","sv","th","tr","ja","kr","zh-gb","zh-tw"
    // theme option values include: "blue","newlook","standard"

    handler.loginData=["http://webmail.cjb.net/action.php?","user","passwd",postData];
    handler.mailURL=handler.loginData;

    handler.getData=function(aData){ //aData is a html source in dataURL
    var fnd=aData.match(/td\sclass="titlew right">\s*(\d+?)\sMessage(s?)/); //find mail count
    if(fnd){
    var num = fnd[1]; //get mail count here
    return num;
    }else{
    return -1;//display 'not checked' message
    }
    };
    }
    --------------------------------------------------------
    I see that you are Korean but also that your English is pretty good, so I hope you can understand what I say below about my difficulties in writing a script that worked:

    My first problem was that looking at the source code of this CJB.net mail service login page, I saw that 6 variables PLUS the 'user' & 'passwd' were required to be submitted at login, yet for some reason, even though I added them to my script in the 'handler.loginData' line in this fashion: .."passwd","user","folder="+encodeURIComponent("INBOX"),"action="+encodeURIComponent("login")... , the script failed and ONLY 3 items got submitted (user+passwd+1 other). All of the other items were LOST!!! I discovered this by using the Firefox extension 'Tamper Data' (<-a very handy tool!!)

    I tried everything I could think of to get it to work, but after a few hours, gave up and started working on the 'mailURL' link instead, but that was not easy either. My script kept not appear in the drop-down list of installed mail services, and I soon realized this is because something in my script was somehow malformed.

    Again, after a few hours of trying different methods, I was about to give up, but remembered that 'Tamper Data' had showed me a long string of POSTDATA when I submitted the webpage login form - and I realized I could add this to my URL-root and paste it in my browser's URL-bar to successfully load the Inbox page. BUT, the POSTDATA text included my username & password. I of course wanted MailNotifier to fill-in the "user" & "passwd" fields as needed. But it seemed the 'handler.mailURL' would NOT accept me adding "user" or "passwd" after the URL with either a "+" or "," to join them, as was done in the 'loginData' line above it. I then had a great idea -- if I put the POSTDATA string into a new variable("var postData") and set my 'loginData' to include the URL+postData variable, I could then point to it(the 'handler.loginData') for my 'mailURL' line.

    SUCCESS!

    - Why though was I limited to 3 items in my loginData (user,pass,1 other)?? Is that a Bug, or by design?
    - Why does the 'mailURL' not allow -- "http://www.someurl.com/action.php?folder="+encodeURIComponent("INBOX").. --? or -- "..?user="+user+"pass="+passwd ??

    - And why does the URL produced by my 'mailURL' have a comma in it after the ".php?" (ex: http://webmail.cjb.net/action.php?,folder=INBOX&action=login&d..." -- I don't see where it is coming from, why is it appearing? I tried and tried to work around this, but did not have any luck. Fortunately, in this case the comma does not break anything (Inbox still loads ok) but it seems odd that it is there, and that the "user" and "passwd" always appear at the END of the URL. If I change the order, the whole thing breaks.

    If you'd like to take a look for yourself, I set up a test account for you:
    --
    http://webmail.cjb.net
    Login: mailnotifier123
    Password: testing123
    --

    Thanks for a really handy extension! Other than getting my script to work, I'm really liking like!

    2008/08/19 02:52 [ ADDR : EDIT/ DEL : REPLY ]
    • Thank your for your works.

      - Why though was I limited to 3 items in my loginData (user,pass,1 other)?? Is that a Bug, or by design?

      It's by design. You don't need postData variable.
      handler.loginData=["http://webmail.cjb.net/action.php?","user","passwd","folder=INBOX&action=login&domainnum=0&lang=en&theme=standard"];

      - Why does the 'mailURL' not allow -- ...
      You can use it. But It's little bit tricky.

      - And why does the URL produced by my 'mailURL' have a comma in it after the ".php?"
      In your script, handler.loginData is a array.
      Use below.
      handler.mailURL="http://webmail.cjb.net/action.php";

      2008/08/19 11:09 [ ADDR : EDIT/ DEL ]
  8. RazorXL

    Hi again, thanks for the quick reply. I can't believe it - that works! I'm sure I tried that right at the beginning. Oh well, thanks!

    2008/08/19 15:46 [ ADDR : EDIT/ DEL : REPLY ]
  9. What a great extension; simple but powerful!

    I've created two UserScripts:

    Tesco.net:

    function initHandler(handler){
    handler.name="Tesco";
    handler.dataURL="http://webmail.tesco.net/do/mail/folder/view";
    handler.loginData=["http://webmail.tesco.net/do/dologin","account","password","variant=tesco&locale=en-GB&client=html&login=1"];
    handler.mailURL="http://webmail.tesco.net/do/mail/folder/view";

    handler.getData=function(aData){ //aData is a html source in dataURL
    var fnd=aData.match(/Inbox\s?\(?(\d*)\)?<\/a>/); //find mail count
    if(fnd){
    var num=fnd[1];
    if (num=="") {num=0;}
    return num;
    }else{
    return -1;//display 'not checked' message
    }
    };
    }

    -------------

    Outlook Web Access:

    function initHandler(handler){
    var user=handler.user;
    var pass=handler.password;
    handler.name="Outlook";
    handler.dataURL="https://<SERVER>/exchange/"+user+"/?Cmd=contents&ShowFolders=1";
    handler.loginData=["https://"+user+":"+pass+"@<SERVER>/","","",""];
    handler.mailURL="https://<SERVER>/exchange/";

    handler.getData=function(aData){ //aData is a html source in dataURL
    var fnd=aData.match(/Inbox<\/font><\/a>(<i> \((\d+)\))?/);
    if(fnd){
    var num=fnd[2];
    if (num===undefined) {num=0;}
    return num;
    }else{
    return -1;//display 'not checked' message
    }
    };
    }

    Your <SERVER> will need to be entered, just go to the log in page and look at the source.

    ----
    EDIT: Changed Regex and if (fnd) statements for both to account for the counter disappearing with no unread mail.

    2008/09/03 03:09 [ ADDR : EDIT/ DEL : REPLY ]
  10. Andy

    Hello, your tool is great thanks a lot !! But there is still one problem...every time a shout down firefox the userscript for web.de is missing the next time ? I cannot fix it may you help me Andy

    2008/09/01 02:00 [ ADDR : EDIT/ DEL : REPLY ]
  11. Brother Nordertown

    BROTHER;
    du musst einfach das script kopieren und im editor als text einfügen. dann als .txt abspeichern und bei einstellungen auf user script klicken. dort kannst du es einlesen, dann ok klicken... in der liste kannst du dann auf web.de klicken, username und PW eingeben und fertig

    2008/09/01 02:40 [ ADDR : EDIT/ DEL : REPLY ]
  12. sarah

    Thank you for your GREAT work!
    i have got a little problem... after starting firefox each time, i have to insert the web.de script anew.
    This problem depends on vista, because win xp doen't have this problem.
    Is there something i could do? without kicking vistas back:)

    2008/09/06 19:18 [ ADDR : EDIT/ DEL : REPLY ]
  13. 비밀댓글입니다

    2008/10/25 07:46 [ ADDR : EDIT/ DEL : REPLY ]
  14. dudie

    Heeeeeeeeeeeellloooooo developer!!!!
    ME TOO!!! I have to insert the web.de script everytime i start FF - any chance to save WEB.DE as one of the default services?
    Thanx!

    2008/10/25 07:47 [ ADDR : EDIT/ DEL : REPLY ]
  15. dudie

    Heeeeeeeeeeeellloooooo developer!!!!
    Heeeeeeeeeeeellloooooo developer!!!!
    Heeeeeeeeeeeellloooooo developer!!!!
    Heeeeeeeeeeeellloooooo developer!!!!
    Heeeeeeeeeeeellloooooo developer!!!!
    Heeeeeeeeeeeellloooooo developer!!!!
    Heeeeeeeeeeeellloooooo developer!!!!
    Heeeeeeeeeeeellloooooo developer!!!!
    Heeeeeeeeeeeellloooooo developer!!!!
    Heeeeeeeeeeeellloooooo developer!!!!
    Heeeeeeeeeeeellloooooo developer!!!!
    Heeeeeeeeeeeellloooooo developer!!!!
    Heeeeeeeeeeeellloooooo developer!!!!
    Heeeeeeeeeeeellloooooo developer!!!!

    2008/10/30 08:37 [ ADDR : EDIT/ DEL : REPLY ]
  16. Here's one for Office Outlook Web Access (OWA).

    http://hermanussen.eu/WordPress/wp-content/owa_webmail_notifier_script.js

    2008/11/25 03:56 [ ADDR : EDIT/ DEL : REPLY ]
  17. Timo

    Don't work any longer

    //edit
    Sorry!
    Plugin just don't work after several reactivations from hibernate mode, when firefox has been started before

    2009/03/03 07:35 [ ADDR : EDIT/ DEL : REPLY ]
  18. longman

    pls make a user script for tom.com,tks!

    website: http://mail.tom.com/

    the account below is for test :
    用户名(username):tamadeluangao
    密 码(password):111111
    登 录(login)

    2009/03/31 17:22 [ ADDR : EDIT/ DEL : REPLY ]
  19. 비밀댓글입니다

    2009/04/14 21:12 [ ADDR : EDIT/ DEL : REPLY ]
    • aeroengineer.mail.everyone.net

      Plz...

      name=wmn09, pw=chip.de

      2009/05/21 19:45 [ ADDR : EDIT/ DEL ]
    • directbox.com

      Hi there!

      May anybody plz be so kind...?!

      name=wmn09, pw=chip.de

      2009/05/21 19:51 [ ADDR : EDIT/ DEL ]
  20. Doug

    HI,
    autologin doesn't work anymore.
    i just can open the mail-page manually.
    please fix that very fast...
    thx

    2009/08/06 16:48 [ ADDR : EDIT/ DEL : REPLY ]
  21. Ravendead

    Hi,
    for me, autologin still works on web.de, but it refuses to check for new mails, neither auto nor manually.
    Thanks for your help,

    Raven

    2009/08/07 17:18 [ ADDR : EDIT/ DEL : REPLY ]
  22. Kevin

    i have the same problem

    2009/08/08 03:40 [ ADDR : EDIT/ DEL : REPLY ]
  23. Ravendead

    Thanks, nice work =)

    2009/08/10 19:31 [ ADDR : EDIT/ DEL : REPLY ]
  24. Susann

    Hi, I deleted the old script and added the new script....but the script doesn't seem to work properly. It always says "Web.de: Nicht geprüft". Thanks for your help in advance...

    2009/08/11 22:12 [ ADDR : EDIT/ DEL : REPLY ]
  25. Jim

    Hi,

    I updated to version 1.4 and I can no longer add a user script.
    In the settings, when I click "User Script", the popup appears. Here, I select the script I downloaded here and press "OK". The popup closes, but no new script is added to the list. I tried this with entering user & pass and without.
    What is wrong? Love this great addon and want to make it work!

    Thanks & regards,
    Jim

    2009/08/13 18:18 [ ADDR : EDIT/ DEL : REPLY ]
  26. Jim

    It is alive again!!

    Thank you so much! Especially for the very very quick help!

    2009/08/13 23:22 [ ADDR : EDIT/ DEL : REPLY ]
  27. 비밀댓글입니다

    2009/08/19 03:01 [ ADDR : EDIT/ DEL : REPLY ]
  28. rob

    Since 2 weeks or so, webmail notifier doesn't check my mails any more. not only from my home computer but also from the office and my laptop. But it does let me login with doubleclick, the login data is correct...strange!

    2009/08/19 03:01 [ ADDR : EDIT/ DEL : REPLY ]
  29. den

    Perfekt einfach das usersript kopieren und in eine .txt einfügen, speichern und im webmail notifier als neues script hinzufügen. fertig :)

    2009/09/08 21:27 [ ADDR : EDIT/ DEL : REPLY ]
  30. rex

    I got the same problem as rob - the notifier isn't checking my mails any more. :/

    2009/09/10 16:37 [ ADDR : EDIT/ DEL : REPLY ]
  31. marti

    Updated the script last week and it was working until this morning. Has Web.de something changed again?

    2009/09/14 17:40 [ ADDR : EDIT/ DEL : REPLY ]
  32. direct2dance

    Great work! However it would be great if web.de could be added as one of the default scripts because it's a hassle to put it all in every after every restart....thanks a lot!

    2009/12/15 01:30 [ ADDR : EDIT/ DEL : REPLY ]
  33. Thomas

    What a great tool! I use it quite some time now.
    Now, since the last update, it stopped to work for web.de.
    I'm quite sure that the issue does not come from web.de but the addon, since it stopped working the moment I updated the addon.

    Did somebody already find a solution? I guess I am not the only one with this issue.

    2010/01/02 04:28 [ ADDR : EDIT/ DEL : REPLY ]