Block websites from storing site preferences or login status in Firefox

Revision Information
  • Revision id: 13548
  • Created:
  • Creator: AliceWyman
  • Comment: updated for Firefox 4, removed fx3 info
  • Reviewed: No
  • Ready for localization: No
Revision Source
Revision Content

Cookies - Information that websites store on your computer are stored on your computer by websites you visit and contain information such as site​ pref​eren​ces ​or logi​n stat​us. 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. At the top of the Firefox windowOn the menu bar, click on the Tools menu (if you don't see the menu bar, press the alt key to temporarily show it), and select 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.

    1f26f07b671e46d7a9ed3df57afb9fb7-1251945943-898-1.png
  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.

Select the Privacy panel.

  • Set Firefox will: to Use custom settings for history.
    customhistory38
    1. 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.