cancel
Showing results for 
Search instead for 
Did you mean: 

Can't register Hotmail javascript protocol handler

SOLVED
Highlighted
New User

Can't register Hotmail javascript protocol handler

I do this, it won't work. make Hotmail a mailto: option in FF.

To make Firefox use Hotmail for mailto links, do the following.

  1. Type about:config into your location bar and hit enter. If you've never edited used about:config before, you'll see a warning.
  2. Click "I'll be careful, I promise!" This will bring you to the about:config window.
  3. In the filter field type "gecko". Double click the first entry gecko.handlerService.allowRegisterFromDifferentHost to change the value to true.
  4. Copy and paste the following text into the location bar and hit enter: javascript:navigator.registerProtocolHandler('mailto','http://hotmail.msn.com/secure/start?action=compose&to=%s','Hotmail');
  5. You will see an information bar drop down at the top of the window. Click "Add Application". You've finished installing the Hotmail protocol now you just need to select it.
  6. Go to Firefox>Preferences>Applications, if you are using a Mac, or Tools>Options>Applications, if you are using Windows. Now scroll down the list by content type and find mailto. In the drop-down menu to the right select "Use Hotmail".
  7. Next, return to about:config.
  8. If the warning comes up again, click "I'll be careful, I promise!"
  9. In the filter field type "gecko", and double click the first entry gecko.handlerService.allowRegisterFromDifferentHost to change the value back to false.
1 ACCEPTED SOLUTION

Accepted Solutions
SUMO Contributor

Re: Can't register Hotmail javascript protocol handler

The problem might be due to a security change in Firefox that restricts the use of "javascript:" in the location bar, which is required for step 4.

Try this as a substitute for Step 4:

(a) Open the Web Console using one of these methods:

Ctrl+Shift+k
orange Firefox button > Web Developer > Web Console
classic Tools menu > Web Developer > Web Console

A small area should open above the current page.

(b) Copy the following line of script and paste it next to the ">" at the bottom of the Web Console (it all goes on one long line):


navigator.registerProtocolHandler('mailto','http://hotmail.msn.com/secure/start?action=compose&to=%s','Hotmail');

Then press the Enter key to execute it.

After completing Step 5, you can close the Web Console using any of the same method you used for opening it.

Does that work?

15 REPLIES
SUMO Contributor

Re: Can't register Hotmail javascript protocol handler

The problem might be due to a security change in Firefox that restricts the use of "javascript:" in the location bar, which is required for step 4.

Try this as a substitute for Step 4:

(a) Open the Web Console using one of these methods:

Ctrl+Shift+k
orange Firefox button > Web Developer > Web Console
classic Tools menu > Web Developer > Web Console

A small area should open above the current page.

(b) Copy the following line of script and paste it next to the ">" at the bottom of the Web Console (it all goes on one long line):


navigator.registerProtocolHandler('mailto','http://hotmail.msn.com/secure/start?action=compose&to=%s','Hotmail');

Then press the Enter key to execute it.

After completing Step 5, you can close the Web Console using any of the same method you used for opening it.

Does that work?

New User

Re: Can't register Hotmail javascript protocol handler

it sure did! initially, I typed in:

<br>navigator.registerProtocolHandler('mailto','http://hotmail.msn.com/secure/start?action=compose&to=%s','Hotmail');

didn't work. so I removed the <br> and there ya go. thanks again.

PS- WHY isn't hotmail listed as an option, and why do we have to go to such lengths?

New User

Re: Can't register Hotmail javascript protocol handler

I spoke too soon. It did indeed add 'hotmail' as an application next to Yahoo and Gmail..but when I click on a link---no good. Sorry, there's a problem with Hotmail right now Hotmail wasn't able to complete this request. Microsoft may contact you about any issues you report. Try to return to Hotmail

SUMO Contributor

Re: Can't register Hotmail javascript protocol handler

I'm not sure why Windows Live Mail/Hotmail isn't a pre-configured option; who decides?

Anyway, that handler does work for me, it takes me to the live.com site to compose a message.

You could try adding this one (direct to live.com) and see whether it works better with your account:


navigator.registerProtocolHandler('mailto','http://mail.live.com/secure/start?action=compose&to=%s','Live Mail');
New User

Re: Can't register Hotmail javascript protocol handler

that one works!

SUMO Contributor

Re: Can't register Hotmail javascript protocol handler

Cool, thanks for confirming that.

New User

Re: Can't register Hotmail javascript protocol handler

To resolve the Hotmail malfunction problem, did all that from the admin account -- and the problem with Hotmail was resolved, BUT solely for this account: the other user accounts remained with the same problem, neither the intention to repeat of the 1 to 9 steps from these accounts helped.

SUMO Contributor

Re: Can't register Hotmail javascript protocol handler

@vimarin -

Firefox probably has separate profile folders for each distinct Windows user. You can confirm the location of the currently active profile folder using Help > Troubleshooting Information, then clicking the Open Containing Folder button.

I'm not familiar with how to change Firefox settings in Windows accounts with limited privileges (what differences there might be). Hopefully someone else can answer that.

New User

Re: Can't register Hotmail javascript protocol handler

Obviously, there is his own profile for each user, that's why the procedure was repeated being logged-in as each one.

     Anyway, the problem was solved fairly simply for every user  (and I hope, forever) merely by going to hotmail via https://www.hotmail.com instead of http:/www.hot* 
  This way, everything works as before.
  All that thanking to "titi77".
  Anyway, my problem might be not the same as the one of this thread: I could get into my Hotmail account, but I could not go beyond that into any of my messages, folders, etc. , and the same occurred simultaneously to IExplorer, and Chrome, too.