Don't leave a trace: Private Browsing in Firefox

Today, a major feature was added to the pre-release versions of Firefox 3.1, called Private Browsing.  I've been working for quite some time on this, so I thought it may be a good time to write about what this feature is and how to use it.

As you may know, while you browse the web, your browser usually records a lot of data which will later be used to improve your browsing experience.  For example, it records a history of all the web pages you have visited, so that later if you need help remembering a site you visited a while back, it can assist you in finding that site.  Now, that is great, but there is a downside: those data can be used to trace your online activities.  For example, if your coworker sits at your computer, she can view all of your browsing history, which may not be what you want.

Suppose you're doing something online, and you don't want your coworkers know about it.  An example scenario would be looking for a new employer while at work!  One option would be to do your work, and then clear the data that Firefox has stored for you, such as history, cookies, cache, ....  But the problem is that this action will also remove the parts of your online activities data which you don't want to hide, so the history that Firefox records can no longer be used to find a web site you had visited a month before.  Private Browsing will help you here.

Private Browsing aims to help you make sure that your web browsing activities don't leave any trace on your own computer.  It is very important to note that Private Browsing is not a tool to keep you anonymous from websites or your ISP, or for example protect you from all kinds of spyware applications which use sophisticated techniques to intercept your online traffic.  Private Browsing is only about making sure that Firefox doesn't store any data which can be used to trace your online activities, no more, no less.

So how does one actually use this feature?  It couldn't be simpler!  To start, just select Private Browsing from the Tools menu.

To start, just select Private Browsing from the Tools menu.

You will see a dialog box which asks you whether you want to save and close all of your current windows and tabs, and start the Private Browsing mode.  Click Start Private Browsing to start your private session.

Click Start Private Browsing to start your private session.

After you do this, your non-private browsing session is closed and a new private session is opened, showing you the screen below.  (Before you mention, the ugly icon you see there is something I created as a placeholder!  This icon will be replaced in the final release of Firefox 3.1.)

Start of the Private Browsing mode

As you see, not much is different in the Firefox window inside the Private Browsing mode, except for the (Private Browsing) text added to the title bar at the top of the window.  That is intentional: after all, if you're doing something online that you don't want your coworkers to know about, you don't want to raise their attention with a big sign saying PRIVATE as they pass by and glance over your shoulder. 

At this stage, you can start browsing web sites, without ever having to worry that Firefox might store something on your computer which can be used to tell which pages you have visited.  Once you're done, just uncheck the same menu item in the Tools menu to close your private session.

Once you're done, just uncheck the same menu item in the Tools menu to close your private session.

 This action discards all of the data from your private session, and will restore your non-private browsing session, just like it was before entering the Private Browsing mode.

This action will restore your non-private browsing session, just like it was before entering the Private Browsing mode.

Now, as I mentioned at the top of this post, this feature is available in pre-release versions of Firefox 3.1 (what we geeks call nightly builds).  This feature will be included in Firefox 3.1 Beta 2 which will be released soon, so if you want to try it, you can give it a shot then.  And of course, it will appear in the final release of Firefox 3.1, so if you're not the type who test beta software, you can wait until Firefox 3.1 is released.

Update:  As many people seem interested in knowing this, there is a way to make Firefox always start in Private Browsing mode.  Go to the about:config page, click I'll be careful, I promise, type browser.privatebrowsing.autostart in the Filter text box, double click the entry to make its value true.  After doing this, the next time you start Firefox, it will start in private browsing mode automatically.  To turn this off, use the same steps to change the value of this preference to false.  There is a plan to provide an easier method to set this option in the final release of Firefox 3.1.

Trackback URL for this post:

http://ehsanakhgari.org/trackback/81

firefox 3.1でプライバシーモード実装

先日google chromeのシークレットモードについてレポしましたが、firefoxの最新バージョン、3.1のベータ版で同様の機能を持つプライバシーモードが実...

Don't leave a trace: Private Browsing in Firefox

Today, a major feature was added to the pre-release versions of Firefox 3.1, called Private Browsing. I've been working for quite some time on this, so I thought it may be a good time to write about what this feature is and how to use it.

As you may ...

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Pingback

[...] Watch TV On Your Computer | MakeUseOf.com January 1, 2009Free Online Flash Cards December 31, 2008Don't leave a trace: Private Browsing in Firefox | Ehsan Akhgari December 31, 2008How to Embed MP3 Audio Files In Web Pages With Google or Yahoo! Flash Player [...]

Pingback

[...] general availability of Firefox 3.1 beta 2 for testing. Aside from increased localization support, a new Private Browsing mode, new tab switching and preview behaviors, and support for a number of new web technologies [...]

Pingback

[...] خاصيه Private Browsing : وهذا رابط للمزيد عنها : اضغط هنا [...]

Pingback

[...] There are several new features, but the one that most users will be using is the new private browsing available. Basically, this is mode that will allow you to serf the web as normal, but when you are done, you can erase ALL evidence of your activities.  The example situation given would be searching for a new job while at your current empoyer. Check out more about private browsing. [...]

Pingback

[...] if you’re feeling adventurous, you can try the latest Firefox 3.1 build which finally has this feature. It’s simple - although not as elegant as in Chrome, which [...]

But what about flash?

The problem is that this won't work unless flash usage is also private. Currently ~/.macromedia records where you have visited. Is there a plan to handle this as well. If not, it's little bit of a waste of time.

Re: But what about flash?

There are plans to allow plugins to be notified of the private browsing mode changes.  This will probably be done in the next version of Firefox, and it will allow all plugins (not only Flash) to be aware of and support the private browsing mode.

It may be promitive, Gana,

It may be promitive, Gana, but it is a step in the right direction. About somone else's comment above, I dont think its fair to comapare Gooqle Crhome to Firefox as it is a near certainty that Gooqle has nearly unlimited resources (financially) to put out a product built from the ground up. Personally, I won't use Chrome because I don't agree entirely with Gooqle's reasons for Crhome, although I can appreciate their concepts.

Firefox will be my browser of choice on all the platforms I use. I'd run it on my Windoze Mobile if I could....

NOT WORKING for me....

3.1b2 - when i switch to Private Browsing, the sites that open (allowed when I'm not private browsing) pop-up windows via a javascript link open a totally blank (about:blank) pop-up window instead of the content they are supposed to load.
And, since the actual url is not present in the link, there's no way i can open the intended window by pasting the url because i don't know the url......

Re: NOT WORKING for me....

Can you please specify on which web site you see this behavior?  I tested this on this page for example, and it's working.

It's TabMix

Sorry -
found out the behavior caused by the TabMixPlus extension (0.3.7.4pre.081203) - if I disable that extension, the problem disappears.

Re: It's TabMix

Great to hear that your problem has been fixed.

Pingback

[...] preview release intended for developer testing and community feedback. New features include a private browsing mode, new functions that make it easy to remove specific portions of web history, a new javascript [...]

thak you

thak you

encrypted session data on disk

Would it not be better to simply provide for separate storage areas for profiles, and have a feature that allows one to
a) encrypt these on the fly
b) allow one to limit the storage of these (to 0 if necessary)

That way one could have a a 'private' profile session alongside one's regular one, so that it is not necessary to close the non-private session. In addition, due to the encryption, the private session can be saved and later be reused. If one really needs total privacy (no data ever written to disk), limit the storage size to 0 or such.

Re: encrypted session data on disk

The problem with this approach is that any customizations in the user's default profile would be lost, such as installed extensions and themes, browsing history, bookmarks, etc.

Different from Chrome

The Incognito private browsing mode in Google Chrome allows you to have 2 windows running together, private and non-private. However, this feature in Firefox seems to be only one or the other, which means that certain non-private websites with videos, for example, will be reloaded and hence time-consuming, upon returning from private browsing.

Can we imitate the behaviour of Chrome, in that you do not have to disrupt what you are doing just because you went into private browsing?

And it might be a good idea to think of a single funky term for "private browsing".

Re: Different from Chrome

Currently, the Mozilla technology does not allow the private browsing mode to be a per window setting, instead of a global setting, but this will probably change in the future versions of Firefox.

As for the term to use instead of "Private Browsing", I'd rather leave that to marketing , though I suspect that the decision is to go with this exact term in the final release of Firefox 3.1.

Privacy Mode

Hi, how can I make privacy mode a default setting.

Re: Privacy Mode

Open about:config, and type browser.privatebrowsing.autostart in the Filter text box, and double click this preference to set its value to true.

Pingback

[...] your browser, no cookies, no traces at all. You can find out more details about this feature from this [...]

Private Browsing not "sticky" in 3.1Beta2

Now that I know how to "autostart" private browsing its not so critical, but in my windows 3.1beta2 copy private browsing only lasts for the current session and needs to be turned on again the next time I use FireFox. This is at variance with your description above (Nov.4,2008) about check-on and check-off. Is this intentional? I'd rather have it "on" when set until I turn it back off. That's my vote. Anyhow, thanx for a big improvement.

Pingback

[...] your browser, no cookies, no traces at all. You can find out more details about this feature from this [...]

Pingback

[...] „Private browsing mode“ (privataus naršymo režimas, kaip ir Microsoft Internet Explorer 8) leis jums naudotis naršykle nepaliekant jokių pėdsakų. [...]

Pingback

[...] Added a new Private Browsing Mode. [...]

Pingback

[...] Modo de Navegación Privada [...]

Pingback

[...] new Private Browsing mode (a la Google [...]

Pingback

[...] mais informações sobre a navegação privada no Firefox, siga aqui. Para o download em português do Mozilla Firefox 3.1 Beta 2, vá por aqui. Para mais informações [...]

Pingback

[...] you may want to use such a feature. The developer who designed private browsing for Firefox has shared some details about how it works and how to use [...]

Pingback

[...] Added a new Private Browsing Mode. [...]

improvements?

if firefox could add to their new web browser more features like new tab homepage to display your homepage when you click on new tab that will be just great !!! and other cool features like snapback in safari 3.2

Pingback

[...] preview release intended for developer testing and community feedback. New features include a private browsing mode, new functions that make it easy to remove specific portions of web history, a new javascript [...]

Pingback

[...] Availability in 54 local language versions. * A new Private Browsing Mode. * New support for web worker threads. * The new TraceMonkey JavaScript engine is now on by [...]

Pingback

[...] ve geliştiriciler için deneme sürümü sağlamak amacıyla yayınlandı. Yeni sürümde “gizli gezinme modu“, web geçmişinin istediğiniz belirli bir bölümünü silmek için iyileştirilmiş yeni [...]

Pingback

[...] of your Web history stored locally. The developer who designed private browsing for Firefox has shared some details about how it works and how to use [...]

Pingback

[...] new Private Browsing Mode that allows you to browse without Firefox storing any traces of where you’ve been - perfect [...]

Pingback

[...] information available at Mozilla developer center and Ehsan Akhgari’s blog (Ehsan is the person who was working on this feature) Share this post on [...]

Pingback

[...] Modo de navegación privado que te permite navegar sin dejar rastro en el historial (al cuál se le ha denominado modo porno). El cual puede ser activado desde el menú de Herramientas. [...]

Pingback

[...] Added a new Private Browsing Mode. [...]

Pingback

[...] Added a new Private Browsing Mode. [...]

Pingback

[...] Private Browsing: Don’t leave a trace: Private Browsing in Firefox [...]

Pingback

[...] מצב גלישה פרטית המאפשר לך לגלוש כאשר Firefox לא שומר עקבות של האתרים בהם ביקרת. [...]

Pingback

[...] Added a new Private Browsing Mode. [...]

Pingback

[...] caratteristica più evidenziata nelle note di rilascio è la modalità di “navigazione privata” grazie a cui è possibile non lasciare tracce dei siti visitati e rimuovere parti della [...]

Pingback

[...] are un mod nou de browsing incognito numit -  Private Browsing Mode; [...]

Pingback

[...] 3.1 beta 2 is out for testing, including “Porn Mode” & Trace Monkey (new JS engine) amongst other features. Go download! Spread the [...]

Great feature!

Thanks for such a great feature. I will surely use this for private browsing at work (which is allowed, but I still don't want anyone be able to browse through my private browsing history when sitting at my computer).
What I would additionally like to have though would be some automatic activation/deactivation of the private browsing mode based on a configurable list of web sites (that list would have to be password-protected of course). I will else surely often forget to switch on the private browsing mode, or forgot to switch it off afterwards.

Re: Great feature!

Thanks for the kind words!  I'm glad that you find this feature useful.

As about having some sites trigger the private browsing mode, this can't be easily done right now because the private browsing setting is global (and not per tab/window), but I guess this can be implemented if someone steps up to write an extension for it.

Private browsing site list

A similar function is already employed by the IE Tab extension. You can specify (with wildcard characters) certain sites that will open in an IE tab by default. That extension could probably be used as a base to provide the same feature for Private Browsing.

Re: Private browsing site list

I'm not sure if that would be possible, since that extension embeds another rendering engine in a Firefox tab, but for private browsing, it has to embed a full instance of Firefox inside a tab, which may not be possible.

I could be wrong though...

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.