I am looking for a way to launch Firefox from a script or command line without any window frame, address bar, or tabs. I'd like to be able to launch this at a given window size and position on screen.


firefox browser

I'd like to only be able to see the section that is comprised of the red box, and the area inside of it.

Using AutoHotKey in Windows, I've been able to launch FireFox at a given window size / position. However, If I try to launch Firefox in "chromeless" mode, and try to resize the window with AHK, I end up with a 0 px by 0 px browser window.

My AutoHotKey Script:

Run, C:\Program Files\Mozilla Firefox\firefox.exe -chrome http://www.google.com/
WinWait, Mozilla Firefox

I've found related questions, but I've not found a solution:

How can I launch a browser with no window frame or tabs

How can I run Firefox with no tab bar, no top bar, no address bar


For that, there once was an addon called "Open Chromeless" – but it was removed from AMO. A work-around is described here; I've just checked it and it seems to work. Partly. Cannot get rid of the addressbar, and there's a frame around the window. If you can live with that:

  1. Press Shift-F4 to open the Scratchpad
  2. In the editor, enter

    window.open("https://superuser.com/", "_blank","width=800,height=600,resizable");

    (replace the URL with the one you want to use)

  3. Click "Run" on the scratchpad toolbar

Now a new "chrome-less" window should open with the page specified. Resize it to your needs:

Screenshot of the "chromeless window" (click to enlarge)

Right-click next to the addressbar, as shown in the screenshot, lets you disable the address bar as well (untick "Navigation toolbar") – but note that would remove it from your main window as well.

I'm aware this does not fully match your request (it's not launching from the command line, and leaves at least a frame around the window), but it comes as close as I could get to it.

| improve this answer | |

Wanted to leave this here, it seems to be a barely-documented feature of Firefox called "Single Site Browser":


Apparently, Firefox disallowed hiding of the location bar unless you launch Firefox with this mode. This SSB mode does still show the window frame (caption with window title, maximise, close buttons, etc.), but all other window chrome is gone.

Now I'm looking for a way to use add-ons in this mode... :(

| improve this answer | |
  • Answers should do their best to be self-contained. In short, you should copy the instructions from the link you posted and "quote/cite" them in your answer. – mbomb007 Oct 28 at 14:43

When I wanted to do this full screen I did something like this:

firefox -url http://superuser.com -fullscreen

But I had to install an add-on to get rid of all the extra decorations.

"full fullscreen" if I remember the name correctly

For smaller geometries, I don't know

| improve this answer | |
  • In my testing, the "-fullscreen" option does nothing. My searches indicate that others have had the same result. – Sparky1 Apr 1 '16 at 15:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.