this post was submitted on 24 Oct 2024
1358 points (97.5% liked)

memes

10094 readers
4473 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 

If you don't have this kit you will be bombarded to Temu's ads

Better version: https://lemmy.world/post/21245770

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 35 points 6 days ago (2 children)

Cookie autodelete doesn't work with strict mode and you should use strict mode. Just drop it.

You don't need an extension to auto remove cookies with Firefox.

[–] Brewchin 10 points 6 days ago (1 children)

You're right. I'll be damned. That'll teach me to set-and-forget then not keep up with changes to Firefox and their effects on extensions. Thanks for the heads up.

[–] [email protected] 7 points 6 days ago (1 children)

Here's how to auto-delete cookies without an extension: https://github.com/arkenfox/user.js/blob/128.0/user.js#L669

Set privacy.sanitize.sanitizeOnShutdown and privacy.clearOnShutdown_v2.cookiesAndStorage (I don't know if privacy.clearOnShutdown.cookies is still needed) to true. To allow a website to keep cookies do CTRL+I on the address bar then check "Set cookie" in the Permissions tab.

[–] [email protected] 1 points 5 days ago

Isn't this toggleable in the regular firefox settings, whitout using about:config flags?

[–] [email protected] 1 points 6 days ago* (last edited 6 days ago)

Can I white list sites too?

Never mind, saw your other comment. Thanks!