Open Firefox in Private Mode by Default

By  on  

Opening a Firefox Private Window is oftentimes the first step persons who value privacy do when they open their browser.  That made me think:  can you configure Firefox to open in private mode by default?  It turns out you can.

about:config

When you type about:config in the address bar of Firefox, you are brought to a screen listing hundreds of options you can update to customize your Firefox experience.  about:config rightly comes with a warning that by modifying these options you may cause problems with your install; luckily the setting we want to update is simply a boolean.

about:config

browser.privatebrowsing.autostart

Update the browser.privatebrowsing.autostart setting, which defaults to false, to true.  Updating this setting ensures that Firefox windows and tabs open in private mode.  You will need to close and reopen your browser for the updated setting to kick in.

Recent Features

  • By
    Creating Scrolling Parallax Effects with CSS

    Introduction For quite a long time now websites with the so called "parallax" effect have been really popular. In case you have not heard of this effect, it basically includes different layers of images that are moving in different directions or with different speed. This leads to a...

  • By
    Page Visibility API

    One event that's always been lacking within the document is a signal for when the user is looking at a given tab, or another tab. When does the user switch off our site to look at something else? When do they come back?

Incredible Demos

  • By
    Table Cell and Position Absolute

    If you follow me on Twitter, you saw me rage about trying to make position: absolute work within a TD element or display: table-cell element.  Chrome?  Check.  Internet Explorer?  Check.  Firefox?  Ugh, FML.  I tinkered in the console...and cussed.  I did some researched...and I...

  • By
    Create Your Own Dijit CSS Theme with LESS CSS

    The Dojo Toolkit seems to just get better and better.  One of the new additions in Dojo 1.6 was the use of LESS CSS to create Dijit themes.  The move to using LESS is a brilliant one because it makes creating your own Dijit theme...

Discussion

  1. Also is available in Preferences -> Privacy -> Never remember history

  2. Hallo, David,

    same question like Fakultet:

    Can I translate this article into German and link back to it? Which license applies?

    Kind regards,

    André

  3. Won’t this store cookies on the private firefox mode since it now opens standardly? Or will it be a separate firefox mode everytime I open firefox?

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!