14

I'm trying to figure out how to stop having to unblock the pihole, in order to bypass cookie consent alerts. I think this is a devious new attempt by the advertising brigade to ensure that adverts are played, but more and more cookie consent blockers are not working properly if you've got an adblocker, and as I've got one at the network level, this is a real frustration. I've tried a few browser-based bypassers, but that doesn't work for many mobile devices, and sort of defeats the purpose of havign a network-level adblocker...

Has anyone else hit this issue and how have you worked around it?

top 10 comments
sorted by: hot top controversial new old
[-] BitPirate@feddit.de 5 points 3 years ago

Cookie banners are usually from the same domain. I doubt you can block them via DNS.

[-] LazerFX@kbin.social 1 points 3 years ago

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.

[-] nandor@lemmy.world 3 points 3 years ago

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

[-] qazwsxedcrfv000@lemmy.unknownsys.com 3 points 3 years ago* (last edited 3 years ago)

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.

[-] RoundSparrow@lemmy.ml 3 points 3 years ago

your post got duplicated, this is the 2nd copy

[-] peter@feddit.uk 2 points 3 years ago

Try the "I don't care about cookies" extension

[-] ollie@lemmy.world 10 points 3 years ago
[-] LazerFX@kbin.social 1 points 3 years ago

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 :/

[-] peter@feddit.uk 1 points 3 years ago

Neat, I'll switch to this one

[-] Tippon@lemmy.fmhy.ml 1 points 3 years ago

That looks great, thanks :)

load more comments
view more: next ›
this post was submitted on 11 Jul 2023
14 points (100.0% liked)

Selfhosted

60177 readers
456 users here now

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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS