Block websites from storing site preferences or login status in Firefox

No one has helped translate this article yet. If you already know how localizing for SUMO works, start translating now. If you want to learn how to translate articles for SUMO, please start here.

Cookies and other site data is stored on your computer by websites you visit. The stored data contains information such as site preferences and login status. This article describes how to block websites from storing this data in Firefox.

Block cookies for a single website

You can use the Page Info window 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.
    Fx59PageInfo-BlockCookies
  6. Close the Page Info window.

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.

Block cookies for more than one website

If you have more than one website you want to block, using the Page Info window for each site can be time-consuming. You can block individual websites by entering their address into your Firefox OptionsPreferences Exceptions list for cookies and site data, as follows:

  1. Click the menu button New Fx Menu Fx57Menu and choose Options.Preferences.
  2. Select the Privacy & Security panel and go to the Cookies and Site Data section.
    Fx60Settings-CookiesAndSiteData
  3. Next to Accept cookies and site data from websites (recommended) click Exceptions…. The Exceptions - Cookies and Site Data dialog box will open.
    Fx60Settings-Cookies&SiteData-Exceptions
  4. Type in the exact address of the site you want to block.
  5. Click Block.
  6. Click Save Changes to finish.
  1. Click the menu button New Fx Menu Fx57Menu and choose Options.Preferences.
  2. Select the PrivacyPrivacy & Security panel and go to the History section.

  3. In the drop-down menu next to Firefox will:Firefox will, choose Use custom settings for history.
    customhistory38 Fx56Privacy&Security-CustomHistory-new CustomHistory fx57 Fx60HistorySettings-UseCustom
  4. Next to Accept cookies from sitesAccept cookies from websites, click Exceptions…. The Exceptions - Cookies dialog box will open.
    Fx59Settings-Cookies-Exceptions
  5. Type in the exact address of the site you want to block.
  6. Click Block.
  7. Click Save Changes to finish.

To remove cookies that were stored previously, 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 Fx57Menu and choose Options.Preferences.
  2. Select the PrivacyPrivacy & Security panel and go to the History section.
  3. In the drop-down menu next to Firefox will:Firefox will choose Use custom settings for history.
    Fx52CustomHistory Fx56CustomHistory cookies exceptions 57
  4. Next to Accept cookies from sitesAccept cookies from websites, click Exceptions….
  1. Click the menu button New Fx Menu Fx57Menu and choose Options.Preferences.
  2. Select the Privacy & Security panel and go to the Cookies and Site Data section.
    Fx60Settings-CookiesAndSiteData
  3. Next to Accept cookies and site data from websites (recommended), click Exceptions….

Block cookies for all sites

To set Firefox to block cookies from all websites:

  1. Click the menu button New Fx Menu Fx57Menu and choose Options.Preferences.
  2. Select the PrivacyPrivacy & Security panel and go to the History section.
  3. In the drop-down menu next to Firefox will:Firefox will choose Use custom settings for history.
  4. Remove the check mark from Accept cookies from sitesAccept cookies from websites.
  5. Close the about:preferences page. Any changes you've made will automatically be saved.
  1. Click the menu button New Fx Menu Fx57Menu and choose Options.Preferences.
  2. Select the Privacy & Security panel and go to the Cookies and Site Data section.
  3. Select Block cookies and site data (may cause websites to break).
  4. 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.

Je li ovaj članak bio koristan? Molimo pričekajte...

These fine people helped write this article: AliceWyman, Chris Ilias, novica, Tonnes, Michael Verdi, scoobidiver, Swarnava Sengupta, scootergrisen, Joni. You can help too - find out how.