You are here

How to always load sites in private browsing mode in Firefox

Depending on how you are using the computers you have access to, the private browsing mode of web browsers can be a useful addition.

While it won't really improve anything on single-user systems, it offers privacy in situations where a computer is shared. This can be a family computer, a public computer in a library or on campus, or your own computer that you hand over sometimes to others because they just need to look something up fast.

Private browsing prevents the saving of data that is usually stored by the browser when it is being used. This includes temporary Internet files, site cookies, the browsing history and other session related bits of data.

While it does not offer 100% protection against prying eyes, as some information may still get recorded -- the Windows DNS Cache comes to mind -- , it can still be useful if you know about its limitations.

Firefox's private browsing mode enables you to launch a private window during the session. If you do so, the browser won't record data of that session. Add-ons like per-tab private browsing improve that feature. Instead of having to launch a window every time you want to run a site in private browsing mode, you can launch it in the current window instead.

There is also an option to make private browsing mode the default start mode of Firefox.

Load sites automatically in private browsing mode

firefox private browsing auto

Auto Private is a new extension for the Firefox web browser which adds another useful option to it. You can use it to always load select sites in private browsing mode in Firefox.

Whenever you type in the site in Firefox's address bar or click on a link in the browser or another program, it will automatically be loaded in a private tab in Firefox if it matches an url that you have added to the list of sites you want opened in that mode.

The extension uses two about:config preferences that you use to configure which sites get loaded in private browsing mode.

Type about:config in Firefox's address bar and hit enter. Confirm you will be careful, and use the search to find the following two preferences.

This preference is for individual domain names. Add a list of domains, e.g.;;; and the extension will load those sites in private mode whenever they are loaded.

Domains need to be separated by ; without spaces in between. The extension tries to match what you enter; for instance will match, or

The second preference supports wildcards (*) that you can make use of to match specific parts of a site only.  You can enter google.* for example to run all google domains regardless of domain extension in private browsing mode.

All sites opened as private tabs are highlighted with a red underline so that you can distinguish between normal mode and private mode easily.

Note that anyone with access to the browser can -- at least in theory -- look up the sites that you have added to the two configuration preferences which may reveal information about sites you visit.

Auto Private for Firefox is a useful extension, especially for users who like to run select sites always in private browsing mode to avoid that visits are recorded by the browser.

Chrome users can check out Ghost Icognito which does the same thing.

This article was first seen on ComTek's "TekBits" Technology News


Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer