This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I set Firefox 8.0 to accept 3rd party cookies ONLY from selected sites but NOT from any other sites?

  • 12 پاسخ
  • 16 have this problem
  • 30 views
  • آخرین پاسخ توسّط genehammel

more options

I do not like to accumulate 3rd party cookies and would simply not check the Accept 3rd Party Cookies box in Preferences. BUT in order to use my bank's web page I have to accept 3rd party cookies from a separate site that manages some of their transactions (like paying bills). This means I have to accept 3rd party cookies and then delete them by hand OR I have to check the accept box each time I use the bank's website and then uncheck it when I am done.

I do not like to accumulate 3rd party cookies and would simply not check the Accept 3rd Party Cookies box in Preferences. BUT in order to use my bank's web page I have to accept 3rd party cookies from a separate site that manages some of their transactions (like paying bills). This means I have to accept 3rd party cookies and then delete them by hand OR I have to check the accept box each time I use the bank's website and then uncheck it when I am done.

Chosen solution

I don't think so, but it makes it easy to do it each time you visit. You just click the CM icon then hover over Third Party Cookies then click Temporarily Allow All. Then you do the same but use the revoke option to deny them again.

Note: It doesn't temporarily allow 'all' (on every site) cookies it only allows the ones that site uses. But I think that if you leave them allowed if they are used by another site they'll be allowed there too.

Jack

Read this answer in context 👍 0

All Replies (12)

more options

Hi,

I don't use Mac, but I should be able to help.

Here's the Knowledge Base article on using custom history settings: Options window - Privacy panel

Just click "Use custom settings for history" under Table of Contents.


Jack

more options

If neither of those help, try Cookie Monster: Cookie Monster

Jack

more options

Thanks, but that is not what I was trying to do. I do not want to block cookies from a single site. I do not want to block all 3rd party cookies.

What I want to do is ACCEPT 3rd party cookies only from ONE site but NOT from any other site.

more options

Thanks, but that is not what I was trying to do. I do not want to block cookies from a single site. I do not want to block all 3rd party cookies.

What I want to do is ACCEPT 3rd party cookies only from ONE site but NOT from any other site.

more options

Cookie Monster (previous post) should do that. You can set it to deny all Third Party Cookies in options in the Add-on screen then use the Cookie Monster button to Temporarily Allow All third party cookies.

Jack

Modified by Jack

more options

Thanks, Jack but Cookie Monster does not actually let me specify a site from which I WILL accept 3rd party cookies and at the same time refuse to accept them from any other site.

more options

Thanks Jack. I can see how Cookie Monster would do that. But it is just as easy to just set the preferences to accept 3rd party cookies when I log into the bank website and then reset the preferences to refuse them when I log off the bank website.

In fact, I can reset the preferences as above AFTER I get on the bank website provided I do it just before and just after I visit the page that demands the 3rd party cookies. Firefox will let me do these resets while it is running.

Thanks again.

Gene

more options

Chosen Solution

I don't think so, but it makes it easy to do it each time you visit. You just click the CM icon then hover over Third Party Cookies then click Temporarily Allow All. Then you do the same but use the revoke option to deny them again.

Note: It doesn't temporarily allow 'all' (on every site) cookies it only allows the ones that site uses. But I think that if you leave them allowed if they are used by another site they'll be allowed there too.

Jack

more options
more options

By the way, that was just from my brief testing, so check it out for yourself.

more options

Allowing some but not all third party cookies or indeed any cookies is easily done in FF 11, 10, and maybe earlier.

1. Under FF Preferences/Privacy click Show Cookies. Delete all those you do not want. 2. Make a list of the URLs of the cookies you do want or otherwise visit all of these, for example by using your bookmarks, etc. This list should contain the "www." or other elements preceding the site name. Firefox may end up stripping some of this out. 3. Now under Preferences uncheck both "Accept Cookies" and also "Accept Third Party Cookies". 4. Check the "Exceptions" next to the Accept Cookies checkboxes (just to the right). 5. Enter each URL into the list and check how you want it handled: Allow, Allow for Session, or Block. Firefox will list the cookies accordingly. It may change the way you entered the URL, for example it may strip out "www." 6. If you have trouble with a site, for example getting a warning that cookies must be accepted, or if you are redirected from an OK site but cannot reach the target site, go back to Preferences and allow all cookies including third party cookies. Visit the sites that gave you trouble. Under Preferences, click Show Cookies. Copy the URLs of the cookies that you need and add them to the Exceptions list.

Notice that you can use more than one approach, depending on how you feel about the number of cookies you are willing to deal with. You can accept cookies but then disallow them in the Exceptions list. That will give you lots of cookies that you are willing to tolerate but block the few that you do not want. You can refuse to accept any cookies (either first or third party) on the Preferences/Privacy page and indicate that you will accept some in the Exceptions list. You can accept cookies on the Exceptions list for all sessions or only for a current session, so that presumably any such cookies saved during a session will be erased when you close FF.