This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to Prevent Firefox from Stealing Focus when reopening from a crash

more options

Linux OS (Xubuntu 14.04-all up to date). NOT using the "Ubuntu Build)--packaged with Ubuntu But using the "Mozilla Build of Firefox" (if that even makes an issue??).

Hello, Thanks for reading. Question. How can I keep Firefox from "stealing focus" (moving to forward of page view)--when I have to restart based on the inevitable crash?

It use to be that it would open to a "System Restore" (type feature, allowing just one window to then open each desired respectively).

However, even if that option is still available, how can I keep FF from stealing focus?

Thanks!


PS-Yes, 36.x is intentional. (it's not fixed in 39. I know for my purposes/testing).

Linux OS (Xubuntu 14.04-all up to date). NOT using the "Ubuntu Build)--packaged with Ubuntu But using the "Mozilla Build of Firefox" (if that even makes an issue??). Hello, Thanks for reading. Question. How can I keep Firefox from "stealing focus" (moving to forward of page view)--when I have to restart based on the inevitable crash? It use to be that it would open to a "System Restore" (type feature, allowing just one window to then open each desired respectively). However, even if that option is still available, how can I keep FF from stealing focus? Thanks! PS-Yes, 36.x is intentional. (it's not fixed in 39. I know for my purposes/testing).

Modified by WhereIsMyMindAt

All Replies (3)

more options

You can set the browser.sessionstore.max_resumed_crashes pref to 0 on the about:config page to get the about:sessionrestore page immediately with the first start after a crash has occurred or the Task Manager was used to close Firefox.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

I am not certain I follow what you are trying to explain.

Firefox 36 is no longer supported. Can you reproduce the issue in Fx39 such as the Canonical build that comes with the Xubunto distro. I presume you have that installed in addition to Mozilla's Fx39.

I do not recall a recent change in Firefox behavior relating to session restore that affects Fx36 to Fx39 (other than the preference page itself). These articles may be of interest


The files involved & method did changed in Firefox 33 Thought I would post a few links about the improved session restore system introduced in Firefox 33

I haven't tried to manually restore anything since then, and that itself is probably an indication that the new system is more robust and reliable.

more options

I use Windows 7. If you are referring to the chaos of 20 windows reloading 20 active tabs during a session restore -- where they may jump in front of one another on their own schedule -- I find that some other applications can stay in front, perhaps with a single interruption, but you cannot control which Firefox window is active and it's easiest just to let Firefox finish before trying to do anything.