X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How to set Hotmail as default mailto simply, no gobbildy-gook

Posted

I use Windows7 and Hotmail in Firefox yet cannot default it as my mailto. I have seen gecko etc and it is the java bit that does nothing. Is there anyone that can solve this simply, I used an app before but I cannot find it now. Be precise in your instructions. please.

Chosen solution

Hmm, after all that, I noticed an extension that does this a completely different way: it change the links in the page from mailto links (that Firefox turns over to a mail hander) to Live Mail compose links. I haven't tested it myself: Live Mailer.

Read this answer in context 2

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.6 r602
  • GEPlugin
  • npsitesafety
  • Google Update
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.6
  • 5.1.20125.0
  • NPRuntime Script Plug-in Library for Java(TM) Deploy

Application

  • Firefox 19.0.2
  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
  • Support URL: http://support.mozilla.org/1/firefox/19.0.2/WINNT/en-US/

Extensions

  • Adblock Plus 2.2.3 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • Autofill Forms 0.9.9.0 (autofillForms@blueimp.net)
  • AVG Security Toolbar 14.2.0.1 (avg@toolbar)
  • British English Dictionary 1.19.1 (en-GB@dictionaries.addons.mozilla.org)
  • Facebook Disconnect 2.1.3 (facebook@disconnect.me)
  • FDislike 3.1.4.1 (fbdislike@doweb.fr)
  • SocialReviver 3.19 (fbsidebardisabler@vittgam.net)
  • Troubleshooter 1.0a (troubleshooter@mozilla.org)
  • HP Smart Web Printing 4.05 (smartwebprinting@hp.com) (Inactive)
  • Skype Click to Call 6.5.0.11422 ({82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: ATI Radeon HD 4300/4500 Series
  • adapterDescription2:
  • adapterDeviceID: 0x954f
  • adapterDeviceID2:
  • adapterDrivers: aticfx64 aticfx64 aticfx32 aticfx32 atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm64
  • adapterDrivers2:
  • adapterRAM: 512
  • adapterRAM2:
  • adapterVendorID: 0x1002
  • adapterVendorID2:
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 6.2.9200.16492
  • driverDate: 4-19-2011
  • driverDate2:
  • driverVersion: 8.850.0.0
  • driverVersion2:
  • info: {u'AzureContentBackend': u'direct2d', u'AzureCanvasBackend': u'direct2d', u'AzureFallbackCanvasBackend': u'cairo'}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webglRenderer: Google Inc. -- ANGLE (ATI Radeon HD 4300/4500 Series )
  • windowLayerManagerType: Direct3D 10

Modified Preferences

  • accessibility.blockautorefresh: True
  • accessibility.typeaheadfind: True
  • browser.cache.disk.capacity: 1024000
  • browser.cache.disk.smart_size.enabled: False
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 358400
  • browser.places.smartBookmarksVersion: 4
  • browser.search.openintab: True
  • browser.search.useDBForOrder: True
  • browser.startup.homepage: https://dub112.mail.live.com/default.aspx?id=64855&rru=inbox|https://www.facebook.com/home.php
  • browser.startup.homepage_override.buildID: 20130307023931
  • browser.startup.homepage_override.mstone: 19.0.2
  • dom.max_script_run_time: 0
  • dom.mozApps.used: True
  • extensions.lastAppVersion: 19.0.2
  • gfx.direct3d.prefer_10_1: True
  • network.cookie.prefsMigrated: True
  • network.dns.disableIPv6: True
  • network.dnsCacheEntries: 200
  • network.dnsCacheExpiration: 240
  • network.http.connect.timeout: 60
  • network.http.keep-alive.timeout: 300
  • network.http.max-connections: 48
  • network.http.max-connections-per-server: 8
  • network.http.max-persistent-connections-per-proxy: 12
  • network.http.max-persistent-connections-per-server: 4
  • network.http.pipelining: True
  • network.http.pipelining.maxrequests: 4
  • network.http.proxy.pipelining: True
  • places.database.lastMaintenance: 1363481299
  • places.history.expiration.transient_current_max_pages: 104858
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • privacy.donottrackheader.enabled: True
  • privacy.sanitize.migrateFx3Prefs: True
  • privacy.sanitize.timeSpan: 0
  • security.warn_viewing_mixed: False

Misc

  • User JS: Yes
  • Accessibility: No
ideato
  • Top 25 Contributor
616 solutions 4260 answers

Hello Moron, see : Change the program used to open email links

thank you

Question owner

It doesn't come up in the mailto box, that is the problem I am trying to solve, I did the gecko bit and it says to enter a java address but it doesn't come up as add it I just get nothing.

cor-el
  • Top 10 Contributor
  • Moderator
10742 solutions 96657 answers

Set the gecko.handlerService.allowRegisterFromDifferentHost pref to true on the about:config page.

Run the code via the (Firefox/Tools > Web Developer) Scratchpad (Shift+F4) or the Web Console (Ctrl+Shift+K)

Paste the JavaScript code in the code window in the Scratchpad and run the code via "Execute > Run" or paste the code to the command line in the Web Console press Enter to run the code.

Do not forget to reset the gecko.handlerService.allowRegisterFromDifferentHost pref to false after you have added that mail provider.

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


(edited to change http to https - thanks Jscher2000 - c)

Modified by cor-el

Question owner

It helped by explaining where to add the code, unfortunately

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

didn't work, I still have no other options than Microsoft Outlook

I pasted it into the command line and it seemed to work but I did a restart and checked after that but still no options for Live mail

cor-el
  • Top 10 Contributor
  • Moderator
10742 solutions 96657 answers

Did you get a notification bar asking to add Live mail after running the code?

jscher2000
  • Top 10 Contributor
2349 solutions 20824 answers

By the way, you probably want to change http to https in that URL. Microsoft probably will redirect your request automatically, but let's save a step if we can. (And be more secure if they don't.)

Question owner

I entered that with the change but nothing happened, no redirect or anything

jscher2000
  • Top 10 Contributor
2349 solutions 20824 answers

Could you reset your application handling preferences back to defaults as follows. Note: this doesn't change all your Firefox preferences, just the ones that appear on the Applications tab of the Options dialog.

Sometimes the file that stores the customizations becomes corrupted and fails to update properly at the end of your session or contains conflicting entries. You can rename the file and customize from scratch.

Open your current Firefox settings (AKA Firefox profile) folder using

Help > Troubleshooting Information > "Show Folder" button

Switch back to Firefox and Exit

Pause while Firefox finishes its cleanup, then rename mimeTypes.rdf to something like mimeTypes.old

Restart Firefox, and a new file will be generated with the default associations.

Hopefully now when you register the new protocol handler it will show up as expected.

Question owner

I did the reset and all the rest then ran navigator.registerProtocolHandler('mailto','http://mail.live.com/secure/start?action=compose&to=%s','Live Mail'); but it only came up as undefined and no option to add

Question owner

sorry used navigator.registerProtocolHandler('mailto','https://mail.live.com/secure/start?action=compose&to=%s','Live Mail'); and undefined, no option to add

Question owner

Why does Firefox not do the right thing and put it in as an option, this is ridiculous

jscher2000
  • Top 10 Contributor
2349 solutions 20824 answers

Helpful Reply

I don't know who decides which webmail sites are included by default. Hotmail certainly is popular, so that's not a reason for leaving it out. But I can't change that right now, so let me just review the (many) steps in the process.

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the filter box, type or paste gecko and pause while the list is filtered.

(3) Double-click gecko.handlerService.allowRegisterFromDifferentHost to toggle its value from false to true. The line should turn bold.

(4) In another tab, containing a normal web page, 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 below the current page.

(5) 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','https://mail.live.com/secure/start?action=compose&to=%s','Live Mail');

Then press the Enter key to execute it. An infobar should open at the top of the page. Click "Add Application". You now can close the Web Console using any of the same methods you used for opening it.

If instead of an infobar the Web Console displays "Not allowed to register a protocol handler for mailto" then switch to your about:config tab, filter on mailto. If the line is bold and set to false, double-click network.protocol-handler.external.mailto to toggle its value back to true. Then try this step 5 again.

(6) Open the Application preferences dialog using:

(WIN) orange Firefox button (or Tools menu) > Options > Applications
(MAC) Firefox > Preferences > Applications
(LINUX) Edit > Preferences > Applications

In the search box on that tab, type or paste mailto and pause while the list is filtered. If you click the drop-down list on the right side, should should now find Live Mail.

(7) Return to the tab with about:config, if you changed the filter change it back to gecko, and double-click gecko.handlerService.allowRegisterFromDifferentHost to return its value to false. You can close about:config.

Success?

jscher2000
  • Top 10 Contributor
2349 solutions 20824 answers

Chosen Solution

Hmm, after all that, I noticed an extension that does this a completely different way: it change the links in the page from mailto links (that Firefox turns over to a mail hander) to Live Mail compose links. I haven't tested it myself: Live Mailer.

Question owner

It has worked but I didn't try the easy way I got it in the long version

Question owner

Solved

Question owner

thank you jscher2000 for all your help

savandarm 0 solutions 5 answers

Helpful Reply

Why does Firefox not do the right thing and put it in as an option, this is ridiculous !!!!!

I feel the same way !

I'm NOT A GENIUS to go through all this! We need a better support from you guys in situation like this where the problem could be easily solved at source from MOZILLA rather then us going crazy!

I like Firefox but....I don't want to go crazy in find solutions that could be easily handled by the experts. Thanks for your understanding.

tomvet475 0 solutions 1 answers

Thanks for this. It was not all that difficult and I prefer it much better than another extension to muck things up. You guys are great.