Here's how, for Macintosh OS X — 3 years ago
this wasn’t obvious to me.
Start your Safari browser, then opn Safari:Preferences
Click on the “General” panel and the first button is “default browser”. Click on that and choose Firefox.
I wasted a lot of time trying to do it using the Firefox preferences
