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
    CSS @supports

    Feature detection via JavaScript is a client side best practice and for all the right reasons, but unfortunately that same functionality hasn't been available within CSS.  What we end up doing is repeating the same properties multiple times with each browser prefix.  Yuck.  Another thing we...

  • By
    Create a Sheen Logo Effect with CSS

    I was inspired when I first saw Addy Osmani's original ShineTime blog post.  The hover sheen effect is simple but awesome.  When I started my blog redesign, I really wanted to use a sheen effect with my logo.  Using two HTML elements and...

Incredible Demos

  • By
    Using Opacity to Show Focus with jQuery

    A few days back I debuted a sweet article that made use of MooTools JavaScript and opacity to show focus on a specified element. Here's how to accomplish that feat using jQuery. The jQuery JavaScript There you have it. Opacity is a very simple but effective...

  • By
    Chris Coyier’s Favorite CodePen Demos IV

    Did you know you can triple-heart things on CodePen? We’ve had that little not-so-hidden feature forever. You can click that little heart button on any Pen (or Project, Collection, or Post) on CodePen to show the creator a little love, but you can click it again...

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!