Tutorial & Buttons for Block Cookies
Saturday, 27. December 2008, 19:04:49
Opera utilize a Global Cookies Settings system to handle all domains' cookies, & then allow user to manipulate specific domain's cookies setting through the Edit Site Preferences. In this tutorial, I will ONLY show the most effective way to block all cookies & setup exceptions to accept cookies for certain domain.
A. Clarification
Global Cookies Settings
You can setup a Global Cookies Settings from Preferences (Ctrl+F12) > Advanced > Cookies. It will serve as the default cookies setup for all website you visit. The default setting is Accept cookies.
Edit Site Preferences (ESP)
You can manipulate any domain's cookies settings from Edit Site Preferences (F12/Context menu) > Cookies. Any changes you made in Edit Site Preferences will ALWAYS overrule Global Cookies Settings for related domain & it's subdomain.
Domain & Subdomain
You can manipulate cookies setting from Domain level or Subdomain level. All higher-level domain ESP will ALWAYS overrule all of it's subdomain settings automatically. The ONLY time when each subdomain ESP can take effect individually is when higher-level domain ESP is not present (or removed).
Example 1: If you setup my.opera.com (subdomain) to accept cookies, but never setup any ESP for opera.com (higher-level domain) & it's subdomains - Opera will ONLY accept cookies from my.opera.com, but will block all cookies from opera.com & it's subdomains such as: www.opera.com, dev.opera.com, labs.opera.com, widgets.opera.com, ru.opera.com, jp.opera.com...etc.
Example 2: If you setup opera.com (2nd-level domain) to accept cookies - Opera will accept cookies from opera.com & ALL of it's subdomains (regardless of subdomains' cookies settings), which included: www.opera.com, my.opera.com, dev.opera.com, labs.opera.com, widgets.opera.com, ru.opera.com, jp.opera.com...etc.
TIPS: For in-depth explaination on Opera's cookies settings, go HERE
B. Setup Opera to Block All Cookies & Add Exceptions
(Optional) Before setup Opera to block all cookies, you can add another layer of protection by enabled Delete new cookies when exiting Opera function. The will allow Opera to delete all unwanted cookies upon exit if you received some cookies when you Enabled Cookies temporary (F12). Go here for more DETAILS
1. First, go to Preferences (Ctrl+F12) > Advanced > Cookies, checked Never accept cookies, & click OK to setup a Global Cookies Settings for block all cookies from all sites.
WARNING: Step 1 will ONLY block all cookies, it won't delete any existent cookies!
2. Next, go to any website that you want Opera to accept it's cookies. Then go to Edit Site Preferences (F12/Context menu) > Cookies, checked Accept cookies option, & click OK to apply changes.
NOTE: If you use the optional step for extra protection, make sure you unchecked Delete new cookies when exiting Opera option to preserve the cookies.
3. Repeat step 2 for other websites that you want Opera to accept it's cookies. That's all!
C. Three Ways to Undo Unblocked Domain Cookies
1. To block any unblocked domain cookies again, simply visit the website & go to Edit Site Preferences (F12/Context menu) > Cookies, checked Never accept cookies option. You might want to delete all related cookies now, before click OK to apply changes & exit ESP.
2. Go to Preferences (Ctrl+F12) > Advanced > Content > Manage Site Preferences > Server Manager, find & edit related domain ESP from there without the need to visit related website.
3. Go to Preferences (Ctrl+F12) > Advanced > Cookies > Manage Cookies, find related domain cookies & delete 'em all! All domain cookies settings are store inside cookies4.dat document, & you can reset any domain's cookies settings back to Global Cookies Settings by delete all related domain cookies.
D. Delete Temporary Cookies Automatically
So, what if certain website require cookies function to be enabled, but you don't want to keep it's cookies? Well, the solution is very simple: Accept the domain cookies, then go to Edit Site Preferences (F12/Context menu) > Cookies, & checked Delete new cookies when exiting Opera option. Enabled this option will get rid of ALL cookies from that domain automatically when you exit Opera!
E. Add/Remove Domain ESP
Subdomain level ESP will ALWAYS overrule by higher-level domain ESP settings - thus it's a good idea to setup most ESP on subdomain level (to allow separate settings for each subdomain) & excluded higher-level domain ESP. However, there is a useful trick for setup a high-level domain ESP: To bypass websites that's heavily rely on automatic redirection such as Hotmail & Yahoo!Mail with ease...
1. Go to Preferences(Ctrl+F12) > Advanced > Content > Manage Site Preferences > Server Manager.
2. Then, click "Add" button & input the Domain Name manually.
Examples: yahoo.com (Yahoo!Mail) OR live.com (Hotmail)
3. Finally, go to Cookies section, checked Accept cookies option, & click OK to add new domain ESP.
4. You can remove any domain ESP from Server Manager, just highlight & delete the domain name!
NOTE: You can't delete any subdomain ESP before you deleted related higher-level domain ESP!
F. Buttons
Here are some BUTTONS that will help you to manipulate domain cookies settings quickly.
NOTE: Reset Domain Cookies Setting function required JavaScript to be enabled in order to work properly!
Go here to learn How to delete unwanted session cookies upon exiting Opera.









How to use Quote function: