Script for WebMail Notifier 2
http://webmailnotifier.mozdev.org/scripts.html
Script for WebMail Notifier 1.x
http://webmailnotifier.mozdev.org/userscript/web.de.jsThis is a user script for WEB.DE (freemail.web.de).
If you want to use it in WebMail Notifier, install this script.
댓글을 달아 주세요
비밀댓글입니다
2007/09/01 04:46 [ ADDR : EDIT/ DEL : REPLY ]I modified the script to include unknown mails.
2007/09/01 09:07 [ ADDR : EDIT/ DEL ]Delete current script and install new script.
Hi, now its really really great, thank you.
2007/09/04 03:04 [ ADDR : EDIT/ DEL : REPLY ]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!
Changing other addon is tricky.
2007/09/04 08:29 [ ADDR : EDIT/ DEL ]Iskon WebMail
2007/09/20 16:26 [ ADDR : EDIT/ DEL : REPLY ]Hallo,
2008/04/07 00:23 [ ADDR : EDIT/ DEL : REPLY ]can somebody help me???
How can I install the user script??
Many thanks
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/06/19 18:49 [ ADDR : EDIT/ DEL ]funktioniert echt perfekt
Hallo,
2008/06/20 02:57 [ ADDR : EDIT/ DEL ]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/21 18:32 [ ADDR : EDIT/ DEL : REPLY ]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 ]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:
2008/08/19 02:52 [ ADDR : EDIT/ DEL : REPLY ]--------------------------------------------------------
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!
Thank your for your works.
2008/08/19 11:09 [ ADDR : EDIT/ DEL ]- 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";
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 ]What a great extension; simple but powerful!
2008/09/03 03:09 [ ADDR : EDIT/ DEL : REPLY ]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.
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 ]BROTHER;
2008/09/01 02:40 [ ADDR : EDIT/ DEL : REPLY ]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
Thank you for your GREAT work!
2008/09/06 19:18 [ ADDR : EDIT/ DEL : REPLY ]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/10/25 07:46 [ ADDR : EDIT/ DEL : REPLY ]Heeeeeeeeeeeellloooooo developer!!!!
2008/10/25 07:47 [ ADDR : EDIT/ DEL : REPLY ]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!
Heeeeeeeeeeeellloooooo developer!!!!
2008/10/30 08:37 [ ADDR : EDIT/ DEL : REPLY ]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!!!!
Here's one for Office Outlook Web Access (OWA).
2008/11/25 03:56 [ ADDR : EDIT/ DEL : REPLY ]http://hermanussen.eu/WordPress/wp-content/owa_webmail_notifier_script.js
Don't work any longer
2009/03/03 07:35 [ ADDR : EDIT/ DEL : REPLY ]//edit
Sorry!
Plugin just don't work after several reactivations from hibernate mode, when firefox has been started before
pls make a user script for tom.com,tks!
2009/03/31 17:22 [ ADDR : EDIT/ DEL : REPLY ]website: http://mail.tom.com/
the account below is for test :
用户名(username):tamadeluangao
密 码(password):111111
登 录(login)
비밀댓글입니다
2009/04/14 21:12 [ ADDR : EDIT/ DEL : REPLY ]Plz...
2009/05/21 19:45 [ ADDR : EDIT/ DEL ]name=wmn09, pw=chip.de
Hi there!
2009/05/21 19:51 [ ADDR : EDIT/ DEL ]May anybody plz be so kind...?!
name=wmn09, pw=chip.de
HI,
2009/08/06 16:48 [ ADDR : EDIT/ DEL : REPLY ]autologin doesn't work anymore.
i just can open the mail-page manually.
please fix that very fast...
thx
Hi,
2009/08/07 17:18 [ ADDR : EDIT/ DEL : REPLY ]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
i have the same problem
2009/08/08 03:40 [ ADDR : EDIT/ DEL : REPLY ]I updated this script.
2009/08/08 22:28 [ ADDR : EDIT/ DEL ]please delete current script.
Download and install new script~
Thanks for the update as the script does check in "In-Folder". Anyway it doesn't check on "Unknown" as it used to. Is there a way to fix that??
2009/08/09 16:09 [ ADDR : EDIT/ DEL ]Thx :)
2009/08/09 18:45 [ ADDR : EDIT/ DEL ]//edit:
Right, It won't check for unknown mails
updated again!
2009/08/09 22:36 [ ADDR : EDIT/ DEL ]Working nicely now :-) Thank you very much!!!
2009/08/09 23:37 [ ADDR : EDIT/ DEL ]Awesome work!
2009/08/10 02:20 [ ADDR : EDIT/ DEL ]Thanks, nice work =)
2009/08/10 19:31 [ ADDR : EDIT/ DEL : REPLY ]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 ]Hi,
2009/08/13 18:18 [ ADDR : EDIT/ DEL : REPLY ]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
Thank you for your bug report.
2009/08/13 19:05 [ ADDR : EDIT/ DEL ]I fixed this problem in ver 1.4.1.
You can get it here
http://downloads.mozdev.org/webmailnotifier/wm-notifier1.4.1.xpi now
or AMO later.
1. remove your userscript.
2. update to ver 1.4.1
3. install your userscript.
It is alive again!!
2009/08/13 23:22 [ ADDR : EDIT/ DEL : REPLY ]Thank you so much! Especially for the very very quick help!
비밀댓글입니다
2009/08/19 03:01 [ ADDR : EDIT/ DEL : REPLY ]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 ]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 ]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 ]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 ]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 ]What a great tool! I use it quite some time now.
2010/01/02 04:28 [ ADDR : EDIT/ DEL : REPLY ]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.