The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features
See the new ForumsYou need to be logged in to post in the forums. If you do not have an account, please sign up first.
How block Facebook cookies on all websites?
Facebook is tracking all computers that visits websites with a "like" button, and almost all websites have this bad button.They track users who don't have a Facebook account too.
How can I make Opera block all cookies related to Facebook on all websites? I had a look in the settings (ctrl + F12), looked at the cookie settings, but I did not see any way to block cookies.
I know how to block cookies on a particular website, but this is not what I try to do. I never visit Facebook, I don't need to block cookies on facebook.com. What I need to do is block cookies related with Facebook on third party websites.
I think I have made clear what I want to do, so how can I do it?
Thanks in advance.
Doesn't do anything about cookies, but it does kill off any random facebook addons to third party pages so there are no more "like" buttons etc
But isn't there a way to blacklist websites in the ordinary Opera settings? I don't normally use Internet Explorer, but even IE6 have a way to block cookies from websites. I think Opera can too (it should), but I just can't seem to find how to do it.
Can I use the Windows HOSTS file as a last resort?
Help expand the Public BTS (un-official) when reporting bugs | Opera Desktop Team | Download Opera | http://www.opera.com/browser/features/
For the site field on the general tab, make sure it says facebook.com exactly and not www.facebook.com etc. Then, on the cookies tab, select "never accept cookies".
That's how you block facebook.com cookies no matter what site you visit.
Now, if you only want to do it for a certain site, the only way you can do it with a site preference is to create a site preference for the domain and disable 3rd party cookies by setting "Accept cookies only from the site I visit" for the site. However, that might not work if the part of the page or like button you click on is in an iframe that points to a connect.facebook.com page. It also might not work if you just click the like button that redirects to the connect.facebook.com page either if Opera allows the redirect and treats the end page you get to as first party like other browsers do.
See <http://operawiki.info/NewCookieSettings> for more info.
Originally posted by Galileo:
Right click empty space in a site you want>edit site preferencies>cookies tab and you change the settings for that site.
Thanks, but a site-specific advice doesn't apply to my issue.
Originally posted by burnout426:
"Ctrl + F12 -> advanced -> manage site preferences -> add"
For the site field on the general tab, make sure it says facebook.com exactly and not www.facebook.com etc. Then, on the cookies tab, select "never accept cookies".
That's how you block facebook.com cookies no matter what site you visit.
Now, if you only want to do it for a certain site, the only way you can do it with a site preference is to create a site preference for the domain and disable 3rd party cookies by setting "Accept cookies only from the site I visit" for the site. However, that might not work if the part of the page or like button you click on is in an iframe that points to a connect.facebook.com page. It also might not work if you just click the like button that redirects to the connect.facebook.com page either if Opera allows the redirect and treats the end page you get to as first party like other browsers do.
See <http://operawiki.info/NewCookieSettings> for more info.
Thank you! I didn't think adding a rule for facebook.com would do anything to cookies on other sites than facebook.com.
I'm not sure what differs www.facebook.com from facebook.com, but I'll follow your guide.
I don't click on any facebook related buttons.

You mention a connect.facebook.com domain, maybe I should add that to my firewall rule or HOST file.
Originally posted by Vikingen:
You mention a connect.facebook.com domain, maybe I should add that to my firewall rule or HOST file
If you really want to block it all connections to it, sure.
Originally posted by Vikingen:
I'm not sure what differs www.facebook.com from facebook.com, but I'll follow your guide.
'com' is a top level dom. "facebook" is a sub-domain of "com" and "www" is a sub-domain of facebook.com. Site preferences are based on domains.
So, a site preference (as far as cookie settings go) for facebook.com covers the cookie setting for all sub-domains of facebook.com. That means if you block cookies for facebook.com, cookies will be blocked for www.facebook.com and connect.facebook.com and meow.facebook.com etc. If you have a site preference for www.facebook.com and connect.facebook.com etc. in this case, their cookie settings won't override the cookie setting for facebook.com. So, if you want the www.facebook.com and connect.facebook.com site preferences to control their own cookie setting, you can't have a facebook.com site preference. But, if you don't have a facebook.com preference, you'll have to create a site preference for each known sub-domain of facebook.com.
For non-cookie settings in a site preference though, that's not the correct. For other settings, the setting in www.facebook.com will override the one in facebook.com.
Takes a while to wrap your head around it.
Originally posted by burnout426:
For non-cookie settings in a site preference though, that's not the correct. For other settings, the setting in www.facebook.com will override the one in facebook.com.
Thank you so much. This last thing you explained is the opposite of how cookie settings works, I'll probably forget this and have to read it again later.
I have actually already added facebook.com to my firewall ad-block filter, so it should filter out everything.
I have the same issue with Google +. I have added all variants of Google + links I have seen to the firewall block filter. But still their buttons shows up on some sites grrrr. Some of that share-stuff is really hard to get rid of. I had the same problem with Facebook share-buttons before I got the Facebook blocker extension.