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
    How to Create a Twitter Card

    One of my favorite social APIs was the Open Graph API adopted by Facebook.  Adding just a few META tags to each page allowed links to my article to be styled and presented the way I wanted them to, giving me a bit of control...

  • By
    Regular Expressions for the Rest of Us

    Sooner or later you'll run across a regular expression. With their cryptic syntax, confusing documentation and massive learning curve, most developers settle for copying and pasting them from StackOverflow and hoping they work. But what if you could decode regular expressions and harness their power? In...

Incredible Demos

  • By
    Add Site Screenshots for External Links Using MooTools Tooltips

    Before you send your user to an unknown external website, why not provide them a screenshot of the site via a tooltip so they may preview the upcoming page? Here's how you can do just that using MooTools. The MooTools JavaScript The first step is to grab...

  • By
    LightFace:  Facebook Lightbox for MooTools

    One of the web components I've always loved has been Facebook's modal dialog.  This "lightbox" isn't like others:  no dark overlay, no obnoxious animating to size, and it doesn't try to do "too much."  With Facebook's dialog in mind, I've created LightFace:  a Facebook lightbox...

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!