I need fine grained, automated cookie controls I have tried these addons

Cookie Manager Cookie Quick Manager Cookie AutoDelete

And the problem is always the same.

It is TOO DIFFICULT to only have one exception for one cookie in one account container

Creating containers for every single website is also extremely tedious and buggy.

And deleting all cookies all the time, means I am re-logging in into everything all the time, often a 5 to 10 step process not counting 2 factor and it is VERY annoying

  • fossphi@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 hours ago

    Not sure if I fully follow what you want. But for my use case, I have something similar with cookie auto delete extension and container tabs.

    The extension (not firefox) is set to auto delete everything by default. And then I can add a website-container pair to the extension’s allow list and it just works

    The only difference I can think of is that I don’t bother with individual cookies, rather within the container, all the cookies from the particular website are allowed

    • interdimensionalmeme@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 hours ago

      Last I checked cookie auto delete I was not able to set say preserve cookies for example.com and only in the example container. Are you sure if you go in another container, those cookies will get deleted ?

      Here is an example page

      And I think for facebook the session cookies are

      c_user
      datr
      
      
      • fossphi@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours ago

        In the settings for CAD, there’s a checkbox to enable support for container tabs. Have you selected that? It’s under extension options

        • interdimensionalmeme@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          2 hours ago

          Ah !! Yes !

          I think this is it !!!

          Now I just need to figure out the session cookie name for every website, but at least it is possible !!

          • fossphi@lemm.ee
            link
            fedilink
            English
            arrow-up
            1
            ·
            57 minutes ago

            Nice!

            Personally, I allow list all the cookies since the session cookie already identifies me anyway. So I don’t see much point in the hassle of going more granular at the cookie level

  • ganymede@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    5 hours ago

    i’m trying to understand your exact needs, but i’m honestly surprised cookie auto delete can’t do it.

    could you explain exactly what you’re trying to accomplish? and the wall you hit with cookie auto delete to do it?

    • interdimensionalmeme@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      Imagine website example.com

      example.com, has a overly tedious login process, with a separate pageload for the username/email and then for the password, and then the second factor and then a captcha.

      Worse, I have a different example.com account for their service A, their service B and their service C

      Currently, every time I restart my browser, I have to go into each account container, load example.com, login into each of the containers

      Every, single, browser restart

      I don’t know what the session cookies for example.com are named or if they change

      I cannot really avoid using example.com, but I also don’t like them, they are a fundamental part of my workflow, they have no real competitors as they have all driven them out of business thanks to their growth hacking blitzscaling strategy.

      I want to, as far as possible, delete all their cookies on an ongoing basis, except for the session cookies, not even just after browser restart but after a period of inactivity as well.

    • Heathcliff@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 hours ago

      Cookie AutoDelete hasn’t been updated for 2+ years and, in my experience, is buggy in combination with containers.

      Also, while it did delete cookies, it did not delete certain data in the user’s profile folder, still exposing all visited sites (while using Firefox’s own history tools does delete this data normally.)

    • ByteMe@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      5 hours ago

      My guess is that op wants to delete all cookies except the ones that maintain login etc

      • sun_is_ra@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        5 hours ago

        cookie auto delete support white listing certain cookies for certain domains. Unless OP want a plugin that can automatically figure out what cookies are required to stay logged in for what domain which is impossible

        • interdimensionalmeme@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          3 hours ago

          Yes, and also on a per-container basis, because different containers have different logins to the same website As I described in the other post https://lemmy.ml/post/30131984/18621605

          I think you are correct to say it is currently impossible.

          Well according to chatgpt, because

          Cookie AutoDelete can whitelist by domain, but not per-container.

          Firefox Multi-Account Containers (MAC) don’t expose cookie APIs per container to extensions — this is a Mozilla limitation.

          Session cookies (those not marked as persistent) are deleted on shutdown unless the domain is explicitly allowed to “stay logged in” (via about:preferences#privacy > Cookies & Site Data > Exceptions). But not on a per-container nor per-cookie basis, it is all or nothing. Whitelisted websites keep ALL their cookies

          Lastly, there does not exist a repository of cookie rules for user to share the session cookie names on a per-website basis

          In other words, there does not exist a “sponsorblock-like” equivalent but tracking and identifying in a crowdsources way, the session cookies

    • interdimensionalmeme@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      And this allows you to keep the session cookies only, only in the specified containers, even after restarting the browser ? If so can you explain how you keep the session cookies and how did you create per-container per-cookie whitelist to preserve only the session cookies or a single website ?