Search Support

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 do I force Firefox to load in the BACKGROUND?

more options

Hello,

I have an extremely frustrating issue with firefox. Whenever I myself, or a script, or anything or anyone opens up Firefox, it ALWAYS opens in the foreground no matter what.

I have batch files open up firefox, now this isn't something that constantly happens, but when it does, it's repeated like 40 times in 10 minutes, and it is extremely annoying to have it steal focus from everything every 10-30 seconds.

How could I make it so that it either:

1.Opens minimized 2.Just at least doesn't steal focus from fullscreen application, it's alright if it opens up maximized.

I have the about:config preference loadDivertedInBackground (or whatever it is) set to true, and that doesn't do anything.

Hello, I have an extremely frustrating issue with firefox. Whenever I myself, or a script, or anything or anyone opens up Firefox, it ALWAYS opens in the foreground no matter what. I have batch files open up firefox, now this isn't something that constantly happens, but when it does, it's repeated like 40 times in 10 minutes, and it is extremely annoying to have it steal focus from everything every 10-30 seconds. How could I make it so that it either: 1.Opens minimized 2.Just at least doesn't steal focus from fullscreen application, it's alright if it opens up maximized. I have the about:config preference loadDivertedInBackground (or whatever it is) set to true, and that doesn't do anything.

All Replies (4)

more options

Try this:

  1. Right-click on the shortcut you use to launch Firefox and select properties.
  2. Go to the shortcut tab, and change the Run drop-down setting to Minimized.

Alternatively, I found some members on Stack Overflow attempting to solve a similar issue on the following page that you might find useful.

Link: https://stackoverflow.com/questions/34976282/start-firefox-minimized-from-batch-file

Let us know if this helped.

more options

Fiz said

Try this:
  1. Right-click on the shortcut you use to launch Firefox and select properties.
  2. Go to the shortcut tab, and change the Run drop-down setting to Minimized.
Alternatively, I found some members on Stack Overflow attempting to solve a similar issue on the following page that you might find useful. Link: https://stackoverflow.com/questions/34976282/start-firefox-minimized-from-batch-file Let us know if this helped.

I already tried setting the shortcut, does nothing at all, and i've also tried using that extension, where firefox will minimize full screen apps, steal focus, and then minimize, which is still pointless because it still steals focus i just don't have to click the minimize button cause it minimizes itself...not much better.

Ill look into the rest of that guy's reply and see if something works

more options

Okay, i have managed to make a workaround.

First off, if anyone needs firefox to just open minimized if you launch it (it won't work when a batch file launches it), do this:

1.Open firefox by double clicking a shortcut. 2.Double-click on the top of the window to make it windowed and not maximized 3.Close the browser. 4.Right-click the shortcut, click properties, under "shortcut", where it says "Run", select minimized.

Now it should open up minimized when you launch it.

If it's for someone like it is for me and you need to prevent it from minimizing an application, do this:

1.Install turbotop. It's not amazing, but it does better than any other software of such type for this specific issue. 2.Figure out how to set your application to a window/borderless window 3.In the task tray on the bottom right, click on turbotop, and select the application.

That way the app can be basically fullscreen (window that covers the whole screen), and it will always be on top.

If anyone has a solution that specifically stops firefox from stealing focus, please provide it.

more options

It might help to think of this as a Windows related configuration issue to aide you in your future endeavors of solving your dilemma. Windows' default behavior is that any application that is launched within the Windows operating system will be focused and on top of everything else.

Modified by ABitMore1024