MozillaZine

How to stop external links from opening FF if it's closed

User Help for Mozilla Firefox
Areed
 
Posts: 35
Joined: August 31st, 2012, 4:10 am

Post Posted April 15th, 2018, 4:44 am

I have Firefox set as my default browser and want to keep it that way; I don't mind external links from other application opening new tabs in Firefox when I click them if Firefox is already open, but I don't want those links to open Firefox if it's closed. Reason for this is that this behavior has in the past caused Firefox to forget the tab session - and right now I have 500 tabs open in Firefox so definitely do not want to risk this. I know I could just set another browser as default but I'd rather not. Is there an about:config hack that can offer a quick fix?

therube

User avatar
 
Posts: 19201
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted April 15th, 2018, 5:03 am

viewtopic.php?p=14793930#p14793930

Also, in profiles.ini, you want to set StartWithLastProfile to 0.

Code: Select all
    [General]
    StartWithLastProfile=0


What that does is if your browser is closed & some other application tries to open your browser (which would be your default browser), you should be prompted to select a Profile rather then having "a" browser open automatically. That allows you to select the Profile applicable to your "default browser", rather then having, what would otherwise be, the last opened Profile to automatically open.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Return to Firefox Support


Who is online

Users browsing this forum: No registered users and 20 guests