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

memes

10032 readers
2920 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] 34 points 1 day 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.

[–] [email protected] 1 points 21 hours ago* (last edited 21 hours ago)

Can I white list sites too?

Never mind, saw your other comment. Thanks!

[–] [email protected] 10 points 1 day 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 1 day 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 7 hours ago

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