Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

How to allow 3rd party cookies only on a single page?

  • I have 3rd party cookies blocking enabled in Opera settings and majority of webpages works fine, but my blog on Wordpress has a problem with display of notifications if I have 3rd party cookies blocked. It just doesn't work. If I uncheck blocking of 3rd party cookies it starts working, but I don't want to disable that. I've tried adding wordpress.com to the exclusion as ALLOWED, but it still doesn't work. Is there even any way to get around this without disabling 3rd party cookies blocking? I really don't want to do that, I want to have 3rd party cookies blocked.

    Seems like we need a 3rd option "Allow 3rd party cookies" in cookies management rules so you can exclude single pages from having 3rd party cookies blocked. But there is no such control currently, just Allow, Block and Clear on Exit.

  • Will an exception like [*.]wordpress.com (or whatever domain is the 3rd party) work? What if you try adding the site and wordpress.com if the site isn't a subdomain of wordpress?

  • @burnout426 said in How to allow 3rd party cookies only on a single page?:

    Will an exception like [*.]wordpress.com (or whatever domain is the 3rd party) work? What if you try adding the site and wordpress.com if the site isn't a subdomain of wordpress?

    That won't work because for Opera, adding these exclusions only means it will allow cookies for domain wordpress.com and not for various 3rd party ones. It literally requires a new setting specifically to allow all 3rd party cookies on an excluded domain with it's own specific rule to allow 3rd party cookies. With current ALLOW rule, you literally just allow the cookies of a given domain, not allowing all 3rd party cookies under that domain.

  • In Chrome, if you have "Allow sites to save and read cookie data" enabled and "Block third-party cookies" enabled, when you visit a site, you can click the badge in the address field and click on "cookies". When you do, you can see what cookies have been blocked where you'll see all the 3rd-party cookies in there that are blocked. You then have the option to click "allow". When you do, [*.]foo.com for each of the 3rd parties is added to the cookie exceptions list and then those 3rd parties are allowed. Visiting those third-party domains directly would already be allowed via "Allow sites to save and read cookie data" as they'd be first-party in that case.

    The same thing is working in Opera for me too. Opera just doesn't have the UI for it.

    Now, in this case, when an exception is added, it allows 3rd party cookies for that domain when visiting any domain. *If* you want a domain to only be an allowed third party when visiting a specific domain, I don't know how to do that. Maybe an extension does that.