How to block and avoid cookies

Internet Explorer:

  1. In your browser go to the Tools menu and select Internet Options > Privacy > Advanced.
  2. Click Override automatic cookie handling. 
  3. Specify how you want Internet Explorer to handle cookies from first-party Web sites and third-party Web sites (a Web site other than the one you are currently viewing). 
  4. To always allow cookies to be saved on your computer, click Accept. 
  5. To never allow cookies to be saved on your computer, click Block. 
  6. To be asked whether or not you want to allow a cookie to be saved on your computer, click Prompt. 
  7. To always allow session cookies (cookies that will be deleted from your computer when you close Internet Explorer) to be saved on your computer, click Always allow session cookies.


1. Choose Safari -> Preferences.
2. Click the Security toolbar button.
3. Safari displays the preference settings.
4. Choose how to accept cookies via these radio button choices:

  • Never: Block cookies entirely.
  • Always: Accept all cookies.
  • Only from Sites You Navigate To: The default option, which allows sites to work correctly without allowing a barrage of illicit cookies.

5. To view the cookies currently on your system, click the Show Cookies button.
6. The site that used that cookie will forget any information that it stored in the file, meaning that you may have to take care of things manually, like providing a password on the site that used to be read automatically from the cookie.
7. Click the Close button to save your changes.

Google Chrome:

  • Click the wrench icon on the browser toolbar.
  • Select Options (Preferences on Mac and Linux; Settings on a Chromebook).
  • Click the Under the Hood tab.
  • Click Content settings in the "Privacy" section.
  • Click the Cookies tab in the Content Settings dialog that appears:

Delete cookies

  1. Click “All cookies and site data” to open the Cookies and Other Data dialog.
  2. To delete all cookies, click Remove all at the bottom of the dialog. To delete a specific cookie, select the site that issued the cookie, then the cookie and click Remove.

Block cookies by default

  1. Block all cookies: Select "Block sites from setting any data". Keep in mind that selecting this setting will prevent most sites that require you to sign in from working. You'll see an icon in the address bar whenever a cookie has been blocked.
  2. Block only third-party cookies: Select the "Ignore exceptions and block third-party cookies from being set" checkbox. Even if you've added a site to the Exceptions list and have chosen to allow its cookies, the site's third-party cookies won't be accepted if this checkbox is selected.

Allow cookies by default

  1. Make sure "Allow local data to be set" is selected to allow both first-party and third-party cookies. If you only want to accept first-party cookies, select the "Block all third-party cookies without exception" checkbox.

Make exceptions for cookies from specific websites or domains

  1. To control how cookies should be handled for a few specific sites or domains, click Manage exceptions. To add a rule in the Cookie and Site Data Exceptions dialog that appears, follow these steps:
  2. Click the "Add a new exception pattern" field and enter the domain name for which you want to create an exception.
  3. To create exceptions for an entire domain, insert [*.] before the domain name (e.g. [*.]
  4. You can also specify an IP address, an IPv6 address, or a non-http URL.
  5. Use the menu to choose whether the site can set cookies. If you select Session only, its cookies are deleted every time you close your browser.
  6. You can also edit or remove exceptions using this dialog.