Use Webmail notifier to detect new information on 163 mailboxes, facebook, and other websites

Source: Internet
Author: User

Webmail notifier is a plug-in of firefox. By default, it can be used to detect new emails in emails such as yahoo, gmail, and hotmail. If you want it to detect Sina, 163,126, facebook, in addition, Webmail notifier can also be used to detect new messages in forums or communities. This is something that most people do not know, next, I will introduce the operation methods:

1. First download the corresponding js script.

The script is:Http://webmailnotifier.mozdev.org/scripts/
Note:If the above Web site can not access, then use the proxy server to access it, and many other online web site proxy is also good. For example: http://www.proxyie.cn/

2. Save the downloaded Js file to the Firefox directory to prevent accidental deletion.
3. open firefox, right-click Webmail notifier, select "Settings", click "script", click "CREATE", find the saved js file, and create it.

4. After adding the email, you can use it to add your email. The setting method is the same as that of gmail and yahoo. See the figure below:

5. The final effect is:

What if you cannot find the script you need? In fact, you can write this script by yourself. The following is a tutorial:
How to write WebMail Notifier scripts.

To make your own script, you should be able to handle javascript and regular expressions.

When the login form of your webmail provider is like this,

<Form action = "https://logins.foo.com/login" method = "post">
<Input name = "user">
<Input name = "passwd" type = "password">
<Input name = "key" value = "abc = 12" type = "hidden">
<Input value = "Login" type = "submit">
</Form>

The corresponding script is as below.
Save below codes as 'mymail. js' (or other name that ends with '. js ')
And install it in WebMail Notifier preferences.

Var name = "MyMail ";
Var ver = "2010-06-08 ";
Function init (){
This. dataURL = "http://welcome.foo.com ";
This. loginData = ["https://logins.foo.com/login ",
"User", "passwd", "key =" + encodeURIComponent ("abc = 12")];
This. mailURL = "http://mail.foo.com ";
}
Function getCount (aData) {// aData is a html source in dataURL
Var fnd = aData. match (...); // find mail count
If (fnd ){
Var num;
// Get mail count here
Return num;
} Else {
Return-1; // display 'not checked' message
}
}

Name: the provider name that wiil be shown in WebMail Notifier
DataURL: the url where you can get mail count
LoginData: [formSubmitURL, usernameField, passwordField, additionalData]
FormSubmitURL: action url of the login form
UsernameField: input field name of username
PasswordField: input field name of password
AdditionalData: other input fields data
MailURL: the url that will be opened when you click the icon or menuitem

This is the simplest form of script.
If your script does not work, please refer to other scripts from here.
Http://webmailnotifier.mozdev.org/scripts/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.