I was looking for something like this for a while, so here is how I made my own Firefox 'app' mode.

For Googlenauts with Windows/Mac 'Set Up Firefox' & 'Alternatively...' should also work on other OSs, perhaps with a few tweaks to the commands used, whilst 'Create Launcher' should work only for most Desktop Environments that implement the freedesktop 'specifactions'.

Set Up Firefox

First run firefox --ProfileManager from terminal (you may need to close any running instances of Firefox first, or use the -new-instance option).
Create a new profile and call it app. Select the 'Default' one (IMPORTANT: otherwise by default it will start the app profile you are creating) and press 'Exit'.

Now run firefox -P app. This will start Firefox from the new app profile you just created. As removing the tabs and navigation bar is now difficult or impossible in Firefox's settings, you will need to install some extensions to remove them - these ones work, though may be better ones available that hide the bars permanently:

  • Hide Tab bar with one Tab - hides the tab bar when there is only one tab open.
  • Hide Navigation Bar - you need to press F2 to show/hide the nav bar

Edit: Both options of hiding the tab+nav bars is also included with Classic Theme Restorer - small icons can also be set for a more compact layout.

Now, when you run firefox -P app -new-instance http://URL (e.g. firefox -P app -new-instance https://askubuntu.com/q/487936/178596), you should get a Firefox window like this:

Also, when you open Firefox by running firefox or clicking the Firefox button, it should open your normal Firefox profile with the tab and nav bars.

Works in Firefox 30.0, 40.0, partially tested in 52.

Create Launcher

You probably want to create a launcher to open your app from the menu - you can do so using this template:

[Desktop Entry]
Name=<APP NAME>
GenericName=<APP NAME>
#Comment=Browse the Web
Exec=firefox -P app -new-instance <https://URL>
Icon=<ICON>
Terminal=false
Type=Application
#MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
StartupNotify=true
#Categories=Network;WebBrowser;
Keywords=<KEYWORDS>

Where:

  • <APP NAME> is the name of your app
  • <https://URL> is the URL you want shown by default on launching the app. -new-instance is optional but allows the Firefox App to be run as the same time as normal Firefox. See also: Mozilla Developer - Command Line options and the output of firefox --help.
  • <ICON> is the name of a icon /usr/share/icons or ~/.local/share/icons, or the path to a icon file (preferably PNG or SVG I think).
  • <KEYWORDS> - Relevant keywords delimited by ;, you can include words you can use to search for the launcher in the Dash/Menu - e.g. Paper;Ink;Toner; - Optional: comment it out with a # at the beginning of the line if you don't use this.

For more info on how .desktop files work, you can read this


You can also follow both above steps, and create various different app profiles, just remember if you use a different name to app - e.g. gmailapp, you need to use that name consistently instead of app.

Also, I'm not sure the -new-instance option is needed much any more, I have left it in anyway.

See also: - https://superuser.com/questions/468580/create-application-shortcut-chromes-feature-in-firefox

Alternatively...

I was looking for a solution to create a script so I could run a command and create Firefox apps (so without extensions etc), and the following userChrome.css works well at hiding all the toolbars:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#TabsToolbar,
#PersonalToolbar,
#BookmarksToolbar,
#MenuToolbar,
#tabbrowser-tabs,
#nav-bar,
#TabsToolbar { display: none !important; }

I haven't tested it too much yet, thought it will be annoying to use since it hides all the open tabs....

Answer from Wilf on askubuntu.com
🌐
Mozilla Support
support.mozilla.org › en-US › questions › 1292666
Open Firefox as a popup window - without URL or tab bars. | Firefox Support Forum | Mozilla Support
June 26, 2020 - ''<p>jscher2000 [[#answer-1327... '''(A) Enable the "Single Site Browser" feature in Firefox''' (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter/Return....
Top answer
1 of 7
29

I was looking for something like this for a while, so here is how I made my own Firefox 'app' mode.

For Googlenauts with Windows/Mac 'Set Up Firefox' & 'Alternatively...' should also work on other OSs, perhaps with a few tweaks to the commands used, whilst 'Create Launcher' should work only for most Desktop Environments that implement the freedesktop 'specifactions'.

Set Up Firefox

First run firefox --ProfileManager from terminal (you may need to close any running instances of Firefox first, or use the -new-instance option).
Create a new profile and call it app. Select the 'Default' one (IMPORTANT: otherwise by default it will start the app profile you are creating) and press 'Exit'.

Now run firefox -P app. This will start Firefox from the new app profile you just created. As removing the tabs and navigation bar is now difficult or impossible in Firefox's settings, you will need to install some extensions to remove them - these ones work, though may be better ones available that hide the bars permanently:

  • Hide Tab bar with one Tab - hides the tab bar when there is only one tab open.
  • Hide Navigation Bar - you need to press F2 to show/hide the nav bar

Edit: Both options of hiding the tab+nav bars is also included with Classic Theme Restorer - small icons can also be set for a more compact layout.

Now, when you run firefox -P app -new-instance http://URL (e.g. firefox -P app -new-instance https://askubuntu.com/q/487936/178596), you should get a Firefox window like this:

Also, when you open Firefox by running firefox or clicking the Firefox button, it should open your normal Firefox profile with the tab and nav bars.

Works in Firefox 30.0, 40.0, partially tested in 52.

Create Launcher

You probably want to create a launcher to open your app from the menu - you can do so using this template:

[Desktop Entry]
Name=<APP NAME>
GenericName=<APP NAME>
#Comment=Browse the Web
Exec=firefox -P app -new-instance <https://URL>
Icon=<ICON>
Terminal=false
Type=Application
#MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
StartupNotify=true
#Categories=Network;WebBrowser;
Keywords=<KEYWORDS>

Where:

  • <APP NAME> is the name of your app
  • <https://URL> is the URL you want shown by default on launching the app. -new-instance is optional but allows the Firefox App to be run as the same time as normal Firefox. See also: Mozilla Developer - Command Line options and the output of firefox --help.
  • <ICON> is the name of a icon /usr/share/icons or ~/.local/share/icons, or the path to a icon file (preferably PNG or SVG I think).
  • <KEYWORDS> - Relevant keywords delimited by ;, you can include words you can use to search for the launcher in the Dash/Menu - e.g. Paper;Ink;Toner; - Optional: comment it out with a # at the beginning of the line if you don't use this.

For more info on how .desktop files work, you can read this


You can also follow both above steps, and create various different app profiles, just remember if you use a different name to app - e.g. gmailapp, you need to use that name consistently instead of app.

Also, I'm not sure the -new-instance option is needed much any more, I have left it in anyway.

See also: - https://superuser.com/questions/468580/create-application-shortcut-chromes-feature-in-firefox

Alternatively...

I was looking for a solution to create a script so I could run a command and create Firefox apps (so without extensions etc), and the following userChrome.css works well at hiding all the toolbars:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#TabsToolbar,
#PersonalToolbar,
#BookmarksToolbar,
#MenuToolbar,
#tabbrowser-tabs,
#nav-bar,
#TabsToolbar { display: none !important; }

I haven't tested it too much yet, thought it will be annoying to use since it hides all the open tabs....

2 of 7
11

I have an easier way I usually do this. It worked with a stock Firefox (<57) installation without any customization. You can even change the height and width of the window.

The command:

firefox -url 'data:text/html;charset=utf-8,<!DOCTYPE html><html><body><script>window.open("http://google.com", "_blank","height=400,width=600,menubar=no,location=no,toolbar=no,left=100,top=100")<%2Fscript><%2Fbody><%2Fhtml>'

Just change http://google.com to the URL. You can also change the height and width variables (in pixels).

Discussions

How do I start Firefox in a single window with titlebar, but without urlbar and tabs?
That feature was experimental for some time and because it was buggy, Mozilla decided to drop it instead of actually fixing the issues it had. You could hack on this with CSS, but there is no easy way to launch a Single Site Browser windows without address bar and the like. More on reddit.com
🌐 r/firefox
11
8
June 22, 2022
Open new popup window without address bars in firefox & IE - Stack Overflow
hope someone can help. just cannot get a new window to open in Firefox without address bars. IE works fine with below code window.open('/pageaddress.html', 'winname', directories=0,titlebar=0, More on stackoverflow.com
🌐 stackoverflow.com
Open Chrome or Firefox without tabs and other menu items and with a set screen position and size
I need to startup either Chrome or Firefox in a set location, with a set size and without the tabs and other menu items. The ultimate goal is a desktop icon I can click to get a window X wide by Y ... More on stackoverflow.com
🌐 stackoverflow.com
[SOLVED]How to properly hide address bar from Firefox 96.0? - Mozillians - Mozilla Discourse
I want to hide the address bar leaving only the opened tabs bar visible, I’ve tried with 2 methods editing the userChrome.css, one works (but it generates a lot of top-spacing), while the second method removes the top-spacing, but it also stops the web pages from being loaded. More on discourse.mozilla.org
🌐 discourse.mozilla.org
0
January 26, 2022
Top answer
1 of 5
2

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.

2 of 5
2

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

https://support.mozilla.org/en-US/questions/1292666

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... :(

🌐
Reddit
reddit.com › r/firefox › how do i start firefox in a single window with titlebar, but without urlbar and tabs?
r/firefox on Reddit: How do I start Firefox in a single window with titlebar, but without urlbar and tabs?
June 22, 2022 -

I'm running Firefox 102.0 on Xubuntu 20.04.

This is Plex TV running on Chromium using this command:

chromium-browser %U --start-maximized --app=https://app.plex.tv/desktop/

I want to implement this in Firefox because Chromium's Picture-in-Picture isn't as good as Firefox's.

I've researched this on Google and found this:

Hi Kevin, I think this is not fully debugged and that's why it isn't in the MDN article yet, but if you want to experiment:

(A) Enable the "Single Site Browser" feature in Firefox

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste ssb and pause while the list is filtered

(3) Double-click the browser.ssb.enabled preference to switch the value from false to true

(B) Launch the URL with the -ssb switch

For example:

"C:\Program Files\Mozilla Firefox\firefox.exe" -ssb https://www.mozilla*.*org/

Is that roughly what you're looking for?

However, this doesn't seem to work on Firefox 102.0 on Xubuntu 20.04. I've also found kiosk mode, but that isn't what I'm looking for though.

🌐
Mozilla Discourse
discourse.mozilla.org › t › launch-firefox-without-address-bar › 107781
Launch Firefox without address bar - Developer Tools - Mozilla Discourse
November 15, 2022 - I would like to launch Firefox with a url parameter (–new-window http://…) but I would like to suppress the address bar. Is there a way to enable this behavior via the dev tools menu? I assumed this would be trivial to do, but so far I’ve not located a method to do this without installing ...
🌐
Mozilla Support
support.mozilla.org › en-US › questions › 1288181
How to hide the address/URL bar again ? | Firefox Support Forum | Mozilla Support
May 24, 2020 - Hi cfdhacker, You can try this add-on [https://addons.mozilla.org/en-US/firefox/addon/fullscreen_plus/ Fullscreen Plus] . Thanks ! ... Bummer ! cor-el thanks a lot for you response, clearly not what I was hoping for, but seems to be the current (sad) state of affair. :/ One would think the dev team would have still allowed users to get rid of the address/url/location bar (many names for the same item !) at least via either an about:config entry or a userChrome.css file.
Top answer
1 of 1
5

In Firefox:

You can find details of the Firefox "Command Line Options" on MDN.

It appears you can not do exactly what you desire, if you want to continue to have the page opened under your normal profile and without having your normal use of that profile disturbed. If you are willing to use a separate profile which is used only for this task, then you can accomplish what you desire. Using another profile is not a big deal. I commonly have more than one running at a time, and even use different versions of Firefox running at the same time under different profiles.

Using a separate profile and add-ons:

To create a new profile see: Use the Profile Manager to create and remove Firefox profiles or Multiple Firefox profiles. Create a profile, choose a name.

You will need some add-ons:

  • Hide Navigation Bar (change options (Tools->Add-ons then "Extensions" and the "options button for this extension. Select "When Firefox starts: Hide the Navigation Bar")
  • Hide Tabbar (change options to select "Auto hide when only one tab is open")

There may be others you could use, but the combination of these two worked when I tested it.

Go to the page you want to see. Adjust the size and position of the window to what you desire. By right clicking the mouse in the toolbar area de-select "Menu Bar" and "Bookmarks Toolbar". Close Firefox. Firefox should automatically remember the size and location of the window.

Create a shortcut:

  "C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote -P "My Profile Name" -url "http://the page I want to see"

Click on the shortcut. That should work.

Shameless plug: If you want the icon for the window to be different so you can tell the windows apart in the taskbar, you could use: Change Profile's Window Icons. An extension whicht arose from my answer to a stackoverflow question. If you do change the icon, you will probably want to change the properties for the shortcut to point to the icon you use.

Getting close to what you want using your current profile without disturbing it:

Without using an add-on you can come close. [Note: all were tested in Firefox and a Windows operating system assumed (for file paths).]

You could use a bookmarklet to open a static URL in a limited window :

javascript:void(window.open("http://www.google.com","_blank","outerWidth=400,outerHeight=200,top=500,left=600,menubar=no,toolbar=no,location=no,personalbar=no,status=no,resizable"))

or the URL you are currently viewing:

javascript:void(window.open(location.href,"_blank","outerWidth=400,outerHeight=200,top=500,left=600,menubar=no,toolbar=no,location=no,personalbar=no,status=no,resizable"))

You can have the window open from a desktop shortcut, but in order to have the window with a limited interface you will end up with a normal size window which you will have to close (scripts are not permitted to close windows which are not opened by a script). You would need to use an html file on your machine to contain the script to open the appropriate URL.

Note the first time you do this Firefox will inform you that it blocked a popup. You will need to permit popups from that file URL.

Example HTML file (example assumes it is located at: C:\open_location.html):

<head>
    <script class="code" type="text/javascript">
        var features =  ""  
                        + "menubar=no,toolbar=no,location=no,personalbar=no"
                        + ",status=no,chrome=yes,resizable,centerscreen"
                        //+ ",width=400"        //Width of content window
                        //+ ",height=200"       //Height of content window
                        + ",outerWidth=400"   //Width of window
                        + ",outerHeight=200"  //Height of window
                        + ",top=500"
                        + ",left=600"
                        ;
        window.open("http://www.google.com/","_blank",features);
        //Can only close windows opened by script.
        //window.close();
    </script>
</head>
<body>
</body>

You could then use a shortcut that opens the URL of that file:

"C:\Program Files\Mozilla Firefox\firefox.exe" -url "file://C:/open_location.html"

I would suggest using a separate profile:

"C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote -P "My Profile Name" -url "file://C:/open_location.html"

You can get rid of the URL bar from all of the above by setting dom.disable_window_open_feature.location=false in about:config. However, if you do that I recommend using a different profile which is used for this purpose only as you normally don't want to do such for normal use.

Find elsewhere
🌐
myByways
mybyways.com › blog › remove-address-bar-in-firefox-windows
Remove address bar in Firefox child windows | myByways
January 21, 2022 - I’ve shared a few of my bookmarklets before, one of which is to open a browser window of a specific size using window.open(). The parameter toolbar=0 will open a child window without a toolbar, e.g. javascript:(()=>{window.open("https://www.google.com/","_g","width=800,height=400,toolbar...
🌐
YouTube
youtube.com › bonguides
How to Hide the URL Address Bar in Firefox in Windows 10, 11 | Hide Title Bar in Mozilla Firefox - YouTube
🌍The text version of this video: https://bonguides.com/how-to-hide-the-url-address-bar-in-firefox-in-windows-10-11/**Description:**Discover how to hide the ...
Published   August 7, 2022
Views   15K
🌐
Mozilla Discourse
discourse.mozilla.org › mozillians
[SOLVED]How to properly hide address bar from Firefox 96.0? - Mozillians - Mozilla Discourse
January 26, 2022 - I want to hide the address bar leaving only the opened tabs bar visible, I’ve tried with 2 methods editing the userChrome.css, one works (but it generates a lot of top-spacing), while the second method removes the top-sp…
🌐
GitHub
gist.github.com › ghusta › 5747542
Open new popup window without address bars nor toolbars in firefox & IE (uses Javascript). See also http://www.w3schools.com/jsref/met_win_open.asp · GitHub
Open new popup window without address bars nor toolbars in firefox & IE (uses Javascript). See also http://www.w3schools.com/jsref/met_win_open.asp - index.html
🌐
Reddit
reddit.com › r/firefox › any way to get windowed full screen? (remove top tab bar and address bar)
r/firefox on Reddit: Any way to get windowed full screen? (remove top tab bar and address bar)
March 27, 2021 -

Is there an extension to remove the top two bars so it's true full screen? Is this possible on Firefox or even Chrome? I have a vertical monitor and it would fit it a lot more while I watch media as the top bars are just taking up valuable space.

This is what I mean btw, the first picture is what it is by default https://i.imgur.com/6QFHUeU.png but I want it to look like this without any bars above showing tab or address bar like this: https://i.imgur.com/bayVbiN.png

Any help is much appreciated.

EDIT: This works for now: https://addons.mozilla.org/en-US/firefox/addon/new-window-without-toolbar/

🌐
Reddit
reddit.com › r/firefox › full screen with no tabs or address bar.
r/firefox on Reddit: Full screen with no tabs or address bar.
June 16, 2022 -

Can't find a way to achieve this with Firefox 57.0.1 on Mac.

When you open Safari or Chrome in full screen on Mac, the address bar and the tabs disappear.

All my research on Google lead me to some outdated add ons that don't work anymore on FF57.

Has anyone found a way to achieve true full screen with FF57?

🌐
Mozilla Add-ons
addons.mozilla.org › en-US › firefox › addon › new-window-without-toolbar
New window without toolbar – Get this Extension for 🦊 Firefox (en-US)
April 10, 2019 - Download New window without toolbar for Firefox. Open current page in new window without toolbar.
Rating: 4.3 ​ - ​ 45 votes
🌐
Lifehacker
lifehacker.com › home
How to Disable Firefox 75's New Address Bar | Lifehacker
June 9, 2025 - You’ll want to type about:config into Firefox’s address bar and then search for all four of these. Double-click them to change their values from “true” to “false,” and restart your browser. Now, when you click on the address bar, you won’t get a giant pop-down menu. You’ll still see some helpful suggestions when you start typing—that bit is unavoidable—but at least you won’t have to stare at your top sites or open tabs each and every time you click the address bar throughout the day.
🌐
Super User
superuser.com › questions › 1851721 › what-is-a-command-line-command-for-opening-firefox-without-address-bar-menu-bar
What is a command line command for opening Firefox without address bar, menu bar, etc. but not Kiosk mode? - Super User
August 8, 2024 - Especially considering the most common browsers ignore technical users like you and I and remove functions we want without notice all the time. ... I have researched a similar task and found out that on Windows 11 if you pin a website from Firefox to the taskbar, it creates an .lnk file with certain parameters specified, such as FF profile name and crucially --taskbar-tab argument. It does not remove the address bar and header altogether, but it keeps the window from having more than one tab while simultaneously giving access to controls, such as add-on buttons and menu.
🌐
BonGuides
bonguides.com › home › how to hide the url address bar in firefox in windows 10, 11
How to Hide The URL Address Bar in Firefox in Windows 10, 11
July 12, 2022 - You can hide the URL address bar using Windows Command Prompt. "C:\Program Files\Mozilla Firefox\firefox.exe" --kiosk https://google.com · Or you can create a batch file to open a site without the address bar.
🌐
200ok
200ok.ch › posts › 2022-09-15_firefox_without_tab_bar.html
Firefox without tab bar (for use in a tiling window manager)
However, being the configure browser that Firefox is, it can be enabled again: In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk. If the toolkit.legacyUserProfileCustomizations.stylesheets preference is not already set to true, double-click it to switch the value from false to true. Open your Firefox profile in your text editor.