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
    Send Text Messages with PHP

    Kids these days, I tell ya.  All they care about is the technology.  The video games.  The bottled water.  Oh, and the texting, always the texting.  Back in my day, all we had was...OK, I had all of these things too.  But I still don't get...

  • By
    Animated 3D Flipping Menu with CSS

    CSS animations aren't just for basic fades or sliding elements anymore -- CSS animations are capable of much more.  I've showed you how you can create an exploding logo (applied with JavaScript, but all animation is CSS), an animated Photo Stack, a sweet...

Incredible Demos

  • By
    Create a Sexy Persistent Header with Opacity Using MooTools or jQuery

    I've been working with the Magento eCommerce solution a lot lately and I've taken a liking to a technique they use with the top bar within their administrative control panel. When the user scrolls below a specified threshold, the top bar becomes attached to the...

  • By
    background-size Matters

    It's something that makes all men live in fear, and are often uncertain of. It's never spoken, but the curiosity is always there. Nine out of ten women agree in the affirmative. Advertisers do their best to make us feel inadequate but...

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!