Cookie banners are usually from the same domain. I doubt you can block them via DNS.
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
That's exactly the problem. Parts of the cookie banner are from the same domain, but then other parts are from the advertisers domain. So blocking the advertiser blocks bits of the banner, meaning you cannot click on the banner, because it's just not letting you do so.
I’ve seen it happening over the last few days. The JavaScript used to control the cookie banner appears to be served from a domain that is blocked by my pi-hole, so I can’t click on the buttons to accept or reject cookies
Cookies are set via the HTTP headers. And the check is usually done locally by JavaScript. The headers can be stripped away via proxy. But unless you disable JavaScript outright (which will literally break most modern websites), you could hardly avoid those banners.
your post got duplicated, this is the 2nd copy
Try the "I don't care about cookies" extension
alternative (superior) open source extension: https://github.com/cavi-au/Consent-O-Matic
Neat, I'll switch to this one
That looks great, thanks :)
Thanks for the tip. I really loathe having to do tihs as it doesn't help mobile, but at least I can auto-sync across desktop browsers :/