this post was submitted on 22 May 2026
420 points (98.4% liked)

Programmer Humor

31948 readers
393 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 

cross-posted from: https://suppo.fi/post/12337562

fixed

top 31 comments
sorted by: hot top controversial new old
[–] Multiplexer@discuss.tchncs.de 51 points 1 month ago (5 children)

How does uBlock Origin help here, though?
I don't think it blocks Cookie banners?

[–] slazer2au@lemmy.world 62 points 1 month ago (2 children)

It can hide the popup but all the rapist advertising companies take that as yes because you didn't say no.

Use consent-o-matic to automatically opt out.

[–] Korhaka@sopuli.xyz 24 points 1 month ago (1 children)

Doesn't matter if I opt in or out if I just delete them all on closing the browser and they all disappear.

[–] 18107@aussie.zone 5 points 1 month ago (2 children)
[–] Korhaka@sopuli.xyz 6 points 1 month ago

Firefox can be set to delete them when the browser closes without plugins

[–] SwooshBakery624@programming.dev 2 points 1 month ago (2 children)

Don't do that.

Cookie extensions

❗️Sanitizing in-session is a false sense of privacy. They do nothing for IP tracking. Even Tor Browser does not sanitize in-session e.g. when you request a new circuit. A new ID requires both full sanitizing and a new IP. The same applies to Firefox

❗️Cookie extensions can lack APIs or implementation of them to properly sanitize: e.g.

⚠️ [last checked Nov 2024], Cookie Auto Delete even instructs it's users to disable Total Cookie Protection - ⚠️ DO NOT DO THIS ⚠️

As of Firefox 86, strict mode is not supported at this time due to missing APIs to handle the Total Cookie Protection [... followed by instructions]

https://github.com/arkenfox/user.js/wiki/4.1-Extensions

[–] pr3d@eviltoast.org 5 points 1 month ago

I don't get it. Of course it doesn't help with IP tracking of fingerprinting, but it deletes all cookies when I leave a site. My browsers runs very long on desktop and mobile, so Firefox's 'Delete cookies on close' doesn't help much.

[–] eager_eagle@lemmy.world 1 points 1 month ago* (last edited 1 month ago)

"don't lock your door, it does not prevent scammers from getting your home address"

???

yeah, we know deleting cookies doesn't prevent IP tracking, that's also why I use a VPN

[–] MangoPenguin@lemmy.blahaj.zone 2 points 1 month ago (1 children)

Is that needed if ublock already stops all the tracking scripts from loading?

[–] dohpaz42@lemmy.world 19 points 1 month ago (1 children)

Yes. Because cookies are used for tracking and can be set without the aid of Javascript.

For anyone interested, cookies pre-date Javascript and are baked in the HTTP protocol by way of a Set-Cookie header that the browser responds to by storing whatever information accompanies the Set-Cookie header; usually a unique id that can then be used to track what pages on a domain you visit.

[–] Quacksalber@sh.itjust.works 5 points 1 month ago* (last edited 1 month ago) (1 children)

uMatrix once again to the rescue. It can block cookies. The only downside to uMatrix is that it dis-/allows based on su domain, so you can't accept a log-in cookie and reject the tracking cookie, if they are served by the same subdomain.

[–] MangoPenguin@lemmy.blahaj.zone 9 points 1 month ago

It does, just need to enable the filter list for it. It'll block most annoying things on top of the usual ads.

[–] joe@lemmy.today 8 points 1 month ago

By default it does nothing about the banners, but blocks most tracking cookies. With some config, it can both enforce a comprehensive cookie policy you set, and hide the banners for you.

[–] HyperfocusSurfer@lemmy.dbzer0.com 8 points 1 month ago (1 children)

It does, if you choose so. Settings -> filter lists -> cookie notices -> easylist/ubo cookie notices + adguard/ubo cookie notices

[–] Multiplexer@discuss.tchncs.de 3 points 1 month ago

Thanks a lot!
Just activated it, and a short test on two of the news sites I visit regularly confirmed it to be working! :-)

[–] blackbeans@lemmy.zip 4 points 1 month ago

It helps partially. As it will block known trackers and tracking cookies.

[–] MoonMelon@lemmy.ml 12 points 1 month ago (4 children)

I use Cookie Autodelete. Doesn't matter what I choose, it's getting nuked when I close the tab. Handy to clear out IndexedDB and localStorage too, for sites that only let you read one or two pages before putting up a paywall.

[–] JetpackJackson@feddit.org 7 points 1 month ago (2 children)

What's the benefit of an extension over setting Firefox to autodelete and setting exceptions in the settings?

[–] Ghoelian@piefed.social 4 points 1 month ago (1 children)

CAD deletes cookies for sites as soon as I close the last tab from that domain, not just when quitting the browser.

Especially on android the settings to delete stuff on quit is pretty useless, because I never quit Firefox through the menu, I just remove it from the recent apps, which doesn't trigger that stuff.

[–] JetpackJackson@feddit.org 1 points 1 month ago

Oh gotcha, I'll have to try it out then, thanks!

[–] MoonMelon@lemmy.ml 1 points 1 month ago (1 children)

You can probably rig up something similar using firefox settings depending on what your needs are for convenience and granularity.

[–] JetpackJackson@feddit.org 1 points 1 month ago

I just meant was there a benefit to choosing an extension over Firefox's settings

[–] eager_eagle@lemmy.world 2 points 1 month ago (1 children)

Does it allow you to select the ones to keep? I'd like to delete everything, but signing into the services every day is annoying as hell, so I'd appreciate a solution to keep the authentication ones.

[–] MoonMelon@lemmy.ml 3 points 1 month ago

Yeah, you can manually whitelist domains (including expressions). I do this for sites where I don't mind keeping cookies around (like lemmy).

[–] MonkeyDumpster@lemmy.org 1 points 1 month ago
[–] SwooshBakery624@programming.dev 0 points 1 month ago (1 children)

I'm gonna copy-paste my comment here. Please, don't install such extensions.

Cookie extensions

❗️Sanitizing in-session is a false sense of privacy. They do nothing for IP tracking. Even Tor Browser does not sanitize in-session e.g. when you request a new circuit. A new ID requires both full sanitizing and a new IP. The same applies to Firefox

❗️Cookie extensions can lack APIs or implementation of them to properly sanitize: e.g.

⚠️ [last checked Nov 2024], Cookie Auto Delete even instructs it's users to disable Total Cookie Protection - ⚠️ DO NOT DO THIS ⚠️

As of Firefox 86, strict mode is not supported at this time due to missing APIs to handle the Total Cookie Protection [... followed by instructions]

https://github.com/arkenfox/user.js/wiki/4.1-Extensions

[–] Ghoelian@piefed.social 9 points 1 month ago

No one said deleting cookies prevents IP tracking. Deleting cookies prevents cookie tracking.

[–] UnfairUtan@lemmy.world 9 points 1 month ago

I'd recommend the Consent-o-Matic extension which works well, even on mobile.

[–] null@lemmy.org 5 points 1 month ago (1 children)

Love it when sites flip the language or the decline buttons to try and trick you into accepting everything.

[–] Venator@lemmy.nz 3 points 1 month ago

Accept Nill Decline Nill