this post was submitted on 24 Oct 2024
623 points (97.8% liked)

memes

10022 readers
4013 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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 16 points 5 hours ago (1 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] 3 points 4 hours 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] 1 points 2 hours ago

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.