cancel
Showing results for 
Search instead for 
Did you mean: 

Block websites from storing site preferences or login status in Firefox

Cookies are stored on your computer by websites you visit and contain information such as site preferences or login status. This article describes how to block websites from storing cookies in Firefox.

Block cookies for a single site

To set Firefox to block cookies from one website:

  1. Go to the website you wish to block from setting cookies in Firefox.
  2. Right-clickHold down the Ctrl key while you click within the page and select View Page Info.
  3. In the Page Info window, select the Permissions panel.
  4. Underneath Set Cookies, remove the check mark from Use Default.
  5. Change the setting to Block.
    Blocking Cookies - Win1
  6. Close the Page Info window.
  7. Remove any cookies that the website has already set in Firefox. For instructions, see Delete cookies to remove the information websites have stored on your computer.

Viewing a list of blocked sites

To see a list of sites that you have blocked from setting cookies:

  1. Click the menu button New Fx Menu and choose Options.Preferences.
  2. Select the Privacy panel.

  3. Set Firefox will: to Use custom settings for history.
    customhistory38
  4. Next to Accept cookies from sites, click Exceptions….

Block cookies for all sites

To set Firefox to block cookies from all websites:

  1. Click the menu button New Fx Menu and choose Options.Preferences.
  2. Select the Privacy panel.
  3. Set Firefox will: to Use custom settings for history.
  4. Remove the check mark from Accept cookies from sites.
  5. Close the about:preferences page. Any changes you've made will automatically be saved.

To remove cookies that were stored previously, see Delete cookies to remove the information websites have stored on your computer.

Block third party cookies

To set Firefox to accept cookies only from the website you're currently visiting, see Disable third-party cookies in Firefox to stop some types of tracking by advertisers.

Customize this article

Firefox

Firefox for Android

Firefox for iOS

Firefox OS

Thunderbird

Version History
Revision #:
3 of 3
Last update:
3 weeks ago
Updated by:
 
Comments

See /forums/knowledge-base-articles/706036 for related discussions about this article.

I added # in front of T:customhistory, added fx4 screenshots, removed duplicated or useless keywords. It needs review.

NicHelps

Displays much better, looks good.

I made a minor edit based on the last pending revision by scoobidiver to use a different image, [[Image:Permissions-BlockCookies]] and then approved the changes.

Alice, why do you replace my good looking screenshot based on support.mozilla.com with your screenshot based on microsoft.com?

scoobi: two reasons:

  1. Your screenshot [[Image:Blocking Cookies - Win1]] was raggedy, not good looking ;-) and mine has a nice neat red block outline.
  2. Your screenshot is of a Page Info window for a support.mozilla.com webpage. That might be confusing, since users might end up blocking support.mozilla cookies if they don't read carefully. My screenshot is obviously of a different website.

I agree with your website point.

Are you sure that you don't mix my screenshot with the previous screenshot? Mine looks like those who Michael did (see this screenshot for instance). Could you replace your screenshot with one shot in front of a blank page and with the aero border?

scoobi,

Feel free to replace my screenshot.

I replaced the screenshot and approved my own revision.