Modified scripts: Gmail, Yahoo, Hotmail/etc... for X-Notifier 3.x for Firefox

First... Note that X-Notifier 3.x will only work with Firefox up to version 56 (and then perhaps for another year with the Extended Service Release (ESR) of FF). Mozilla has said that they will terminate the old addons programming interface with FF 57.  Until then...

[ 9/9/2017 EDIT: Jeroen made a Hotmail/ script available that also works with the new beta version of Hotmail/etc... see his post:
Note: Click his post's link to go to Dropbox, then click the DOWNLOAD button, upper right corner. ]

There are modified scripts for Gmail and Yahoo (see below)... that work with X-Notifier 3.5.23... 

- For the updated custom Gmail script, go to the following post by "JustOff" (linked below) and then right-click -his- link, then click 'Save link as...' and change the 'File name' (from b11a0503.txt) to:  gmail.js   ...then click Save.  Next, go to X-Notifier, Options, click the "Scripts" button, and 'Add' that new gmail.js script... then click 'OK', and close Options by clicking 'OK'.  Lastly, close Firefox (to clear memory/settings), and re-open it.  That's all.

See JustOff's post:

[EDIT/UPDATE:  Working YAHOO script... Jeroen also managed to excise the Yahoo script from X-Notifier 4.x and make it work for X-Notifier 3.x.
 - So you can use IMAP (see below), or...
...see Jeroen's post... ...for the working Yahoo script.
Note: Click his post's link to go to Dropbox, then click the DOWNLOAD button, upper right corner. ]

- For the Yahoo IMAP fix, the workaround is to redefine Yahoo accounts using the IMAP script (instead of the old Yahoo script)... but it was necessary to fix X-Notifier's embedded IMAP script (to work with the 'new' Yahoo Mail that is being rolled out slowly to everyone), so... Jeroen modified the existing IMAP script, and you can add it just like any other custom script.  (Note: clicking your IMAP defined account does not log you into your inbox, but you can add a Link entry to go there, or at least to the webmail login page. Also there is no custom icon for IMAP defined accounts, but you can add one... see

Before or After saving and adding the custom IMAP script, you will need to change one of your Yahoo account settings to allow IMAP access, and then define your Yahoo account in X-Notifier using the new IMAP script. So...

- First, in Firefox, go to:

...and scroll down the webpage, and turn 'on' the slider (to the right) to "Allow apps that use less secure sign in" ...then close your account tab. (The setting is saved as soon as you change it.)

- Then, go to the following post by Jeroen (linked below), and left-click -his- link, which opens a Dropbox webpage with the script and a 'Download' button in the upper right corner... (ignore 'Sign in'). Click the 'Download' button, click 'Direct download' and save the imap.js file to your computer... then close the Dropbox tab.  Next, go to X-Notifier, Options, click the "Scripts" button, and 'Add' that new imap.js script... then click 'OK', and close Options by clicking 'OK'.  Lastly, close Firefox (in order to start fresh with new script, clean settings/memory).

Jeroen's post:

- Finally, re-open Firefox, and define your Yahoo account in X-Notifier, using the IMAP script...

Go to X-Notifier, Options... then click the box to the left of the "Scripts" button (it should be labeled 'Gmail'), and select IMAP from the drop-down list of installed scripts. Then...

...fill in your usual username and password, and for "Server", enter: 

...and for "Link", enter:

...and lastly, click the "Add" button, and then "OK".

If that IMAP account definition works for you, you may want to either UNcheckmark (disable) the Yahoo accounts previously defined using the embedded Yahoo script, or highlight them and Delete.


In the Firefox version, X-Notifier 4.0.3, Gmail and Yahoo should be working... version 4.x, the available scripts are limited to only what is embedded in the program... there is no adding of custom scripts by users.

Chrome browser's version of X-Notifier, also 4.0.3, still supports custom scripts.

Safari users can also get X-Notifier 4.0.3 for Safari, which supports custom scripts.
If you have trouble upgrading to 4.0.3... you might try Exporting your accounts (go to X-Notifier, Options), then UNinstall X-Notifier, and finally... again try to install 4.0.3, but select "Install from developer" ...and after it's properly installed, Import your accounts.

digideth's picture

If your Yahoo email account is attached to you can't use imap with XN anymore.
They have removed the option for giving access to less secure apps with yahoo/att accounts.

I had an yahoo/att account setup for imap and it worked untill last week.

This link
will only let you change your password with yahoo/att accounts.

Regular Yahoo accounts work perfectly with the imap instructions above.


RpD's picture

Just released... version 4.1 of X-Notifier for Chrome ...said to fix Yahoo script.
(Also see my comment there.)

historyb's picture

Gmail wants varification code after the new script was loaded but I do not have any and never had any bedore

RpD's picture

Works fine for me.  Don't know what to tell you, except update to X-Notifier 4.1 (which only fixes Yahoo) and then try Gmail.  If it doesn't work... try the modified Gmail script, again.

historyb's picture

Stupid google thought I was not who I said I was so had to jump through hoops but it works now, sorry about that.

Hello, how do you solve this? My gmail also kept asking verification code but I don't have one or never made one. However I did activate 2-steps-authentication.

RpD's picture

Melih's picture

Is it possible to make a script for Hotmail to use with 3.x? After stupid beta switch, hotmail greyed out. I am really greatful for being able to use again gmail with 3.x, thank you!

RpD's picture

Version 3.x has been labeled "deprecated"... it is soon to cease to function on newer versions of FF (57+), supposedly.
Perhaps someone could strip the hotmail script out of version 4.x and may have to rework it for 3.x and then make it available separately to load into 3.x.