Skip navigation.

exploreopera

| Help

Sign up | Help

My Opera Notebook

by dude09

How to Block Cookies Properly?

,

Previously, I show you guys how to delete unwanted Session cookies (a.k.a. New cookies) upon exiting Opera. This time I'll show you a way to block all cookies, plus a few whitelist domain methods. The nature of block all cookies function (Never accept cookies) might cause problem to website that require certain cookies in order to function properly... & that's why I also included the whitelist domain methods. :wink:

1. First, go to Preferences(Ctrl+F12) > Advanced > Cookies, then checked Never accept cookies option. Hit OK once. This will ONLY block all cookies, it won't delete any existen cookies! So, delete the unwanted cookies yourself...

NOTE: Once you choose Never accept cookies option, then Delete new cookies when exiting Opera function will be disabled in general - Except domains that you whitelisted with Accept cookies or Accept only cookies from the site I visit options in Edit Site Preferences.


2. Next, time to setup a whitelist domain system. There are generally 2 methods to do so, but you can use both together if you wish... which is the 3rd method. You need to choose a method that suit your taste, so read the explaination carefully before you pick one!

A. Accept ONLY cookies from website I visit
This is the most extream method, because it will only accept cookies that with matched domain/URL of visiting websites! You won't receive any 3rd party cookies, but it might cause some problem if 3rd party cookies are needed in order for the website to work properly...

A1. Open the website you want to whitelist, then go to Edit Site Preferences (F12/Context menu) > Cookies, & choose Accept only cookies from the site I visit option. That's it.

A2. Repeat step A1 for other websites that you want to whitelist. Here is a button that will help you to do so quickly. Click once to whitelist domain, press & hold to remove domain: Whitelist Domain


B. Accept all cookies
This method will accept all cookies from whitelisted domain, included all other 3rd party cookies that used by that website. That means you might receive some unwanted cookies from 3rd party too...

B1. Open the website you want to whitelist, then go to Edit Site Preferences (F12/Context menu) > Cookies, & choose Accept cookies option. That's it.

B2. Repeat step B1 for other websites that you want to whitelist. Here is a button that will help you to do so quickly. Click once to whitelist domain, press & hold to remove domain: Whitelist Domain


C. Combined Method A & B
As I mentioned before, method A will break some website because certain website require 3rd party cookies to work properly, although these websites are rare but they do exist! Thus, I suggest you to use method A for most websites & method B for website that required 3rd party cookies...

No explanation needed, so I'll just provide some variation buttons that you might find useful:

A + B: Whitelist Domain
(Click once to accept ONLY domain/URL matched cookies; Press & hold to accept ALL cookies)

A + B: Whitelist Domain
(Click icon to accept ONLY domain/URL matched cookies; Click arrow to accept ALL cookies)

Remove domain + Manage Cookies: Block Domain's cookies
(Click once to remove domain from whitelist; Press & hold to evoke Cookies Manager)

Remove domain + Manage Cookies: Block Domain's cookies
(Click icon to remove domain from whitelist; Click arrow to evoke Cookies Manager)

P/S: This is not the end, I probably will wrote another blog about combined Block cookies + Delete New cookies when existing Opera whitelist method later. As soon as I figure out a few more details that is, Or maybe not... p:

Bookmark Folder vs Sessions ManagerOpen Bookmarks inside Panel?

Comments

avatar
Be careful, in Opera 9.51 & possibly 9.50 cookie preferences are silently applied to all sub-domains; at least that is my experience w/ getting the Wand to work at my.opera.com.

My blog of the problem

By archtoad6, # 28. July 2008, 00:42:40

avatar
Thank you for a clear summary and functional buttons. However, I have an impression, that the present version of cookie privacy settings are worse, than those implemented in old Mozilla Suite...
Take a look, I've put some screenshots:
http://my.opera.com/njupas/albums/show.dml?id=593787
Greetings

By njupas, # 31. August 2008, 17:28:03

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

Please type this security code : e80feb

Smilies