All the incognito browser windows share the same “session” in Firefox. So say you open an Incognito window to browse Facebook or something, then you open another Incognito window, this new incognito window is linked to the previous incognito window, meaning you are logged into Facebook at that new Incognito window as well. This is because, as I explained before, all the incognito windows share the same “session”

The only way to clear incognito window is to close ALL of them and then create a new incognito window. You dont have to close the main non incognito Firefox window though, just close all the incognito windows. Then open a new one, now your previous session is destroyed and you are new again.

You may know it but its not that common knowledge as it should have been

  • Moonrise2473@feddit.it
    link
    fedilink
    arrow-up
    82
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Maybe it’s because I have a programmer mentality but this is exactly the behavior I would expect, otherwise the "open link in new window"won’t work reliably, all popups would fail and you couldn’t “tear” off a tab in a new window

  • rbn@feddit.ch
    link
    fedilink
    arrow-up
    61
    arrow-down
    2
    ·
    1 year ago

    For me that behavior was expected. E.g. if I open a link from incognito in a new window, then it obviously should also use incognito but share its context with the previous sessions, otherwise it would require you to login over and over again. If an independently opened incognito window behaved different from a link-click window, I’d find it even more confusing.

    • RogueBanana@lemmy.zip
      link
      fedilink
      arrow-up
      18
      arrow-down
      6
      ·
      1 year ago

      I would say it should be the opposite. Separate windows should be independent but tabs on other hand can share same session.

    • Serinus@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      In fact, that’s a good way to understand the behavior. Log into a site. Visit the site in your other window. If they share a session, you’ll be logged in. If they don’t, you’ll be logged out.

  • moonmeow@lemmy.ml
    link
    fedilink
    arrow-up
    58
    arrow-down
    8
    ·
    1 year ago

    seems counter intuitive… each incognito window should be separated into their containers.

    seems like a good idea to take that container addon and apply that to incognito.

    • sock@lemmy.world
      link
      fedilink
      arrow-up
      15
      arrow-down
      34
      ·
      1 year ago

      why would you expect each tab connected to the same window to each have a different cache or whatever as if it wasnt connected to the same window.

      it seems counterintuitive to expect that.

      unless yall mean opening up multiple windows then i ask what r u using incognito for so much. nobody cares about you or your data in any significant way thatll affect you.

      • NickNak@lemmy.world
        link
        fedilink
        arrow-up
        8
        arrow-down
        2
        ·
        1 year ago

        There’s an add on that lets you create custom containers, a container acts as it’s own session in a way, content, cache, cookies etc are all localised to one container

        For example, you open youtube in one then open gmail in another container, neither one will know you’re logged into the other

        • sugar_in_your_tea
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Yup, I use the multi-account containers addon and have one for work, one for personal, one for banking stuff, one for shopping, etc. You can have websites locked to a given container, or you can choose each time you open a link.

          However, that’s a completely separate concept from private tabs. With private tabs, once you close the last private tab, your entire session is cleared.

      • sugar_in_your_tea
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        You can move tabs between windows, so either you need to go with each tab is a separate container, or all private mode windows share a container.

        Perhaps it makes sense to have multiple private browsing windows and label them to make it obvious? Or just eliminate private mode and just use containers for it with a setting for each container for which addons work with that container.

        All of that seems complicated, so I prefer to just keep it simple. I use containers to separate concerns/accounts, and private browsing if I want to ensure browsing history isn’t tracked (esp. useful when searching for Christmas/birthday gifts).

  • heavyboots@lemmy.ml
    link
    fedilink
    English
    arrow-up
    38
    ·
    1 year ago

    I think what you are looking for is Containers. FF uses containers to wall things off from each other, whereas Private sessions are still all sandboxed together, as you discovered. I know this is quite different from how Safari, for example, handles things, but you can accomplish the same things, just a little differently.

  • SimpleMachine@lemmy.world
    link
    fedilink
    arrow-up
    33
    arrow-down
    12
    ·
    1 year ago

    Why would you ever sign into anything in incognito mode. Doesn’t that pretty much defeat the whole purpose?

    • SuddenDownpour
      link
      fedilink
      arrow-up
      23
      ·
      1 year ago

      There are legitimate reasons. You may have a main account in a given page which you usually want to log into automatically, but at certain occasions you might want to use an alt without your browser forgetting to log into your main by default. A more specific example of this would be someone who has an alt account for NSFW stuff in social media because they want to be able to browse in their main without risk of genitals popping up on their screen while they’re on the bus or using the phone next to family.

    • jagungal@lemmy.world
      link
      fedilink
      arrow-up
      15
      ·
      1 year ago

      I use it when I need to log into a computer at work with a personal account, so that I know I’m logged out when I close the window.

    • computergeek125@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      edit-2
      1 year ago

      I use it to test that I’ve set up an authentication system correctly without a cookie bias, among other uses

      Set everything up in main > confirm tests pass > log in from incognito with password vault to make sure the auto test didn’t lie.

    • FIST_FILLET@lemmy.ml
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      1 year ago

      anonymity is not the only usage for incognito, and frankly it doesn’t even make you very anonymous on its own

    • miss_brainfart@lemmy.ml
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      1 year ago

      Signing in to a service would defeat incognito mode if its function were to make you incognito towards the websites you visit.

      But since that’s not what it does, I don’t see why it would defeat anything.

    • Paradachshund@lemmy.today
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      My health and dental insurance are through the same company but on different accounts (they refuse to combine them), so I use a private tab to sign into both at the same time because it normally only allows one at a time.

    • EmoDuck
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      Exactly because I want to log out of everything when I close my browser

  • MightEnlightenYou@lemmy.world
    link
    fedilink
    arrow-up
    13
    arrow-down
    5
    ·
    edit-2
    1 year ago

    As a “I just care somewhat about privacy because the NSA sees everything anyway” guy… How the fuck are you all using your browsers and for what? HOW can this lack of knowledge cost anyone anything?

    • tigeruppercut@lemmy.zip
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      One example of being more careful about privacy that came up for me recently is that I have gmail as my primary mail and I use google docs for storing a lot of things I use for work. If I also want to block youtube ads and they say it’s against their TOS, they can theoretically close my gmail and docs for violating it.

      They might not and I haven’t necessarily seen anything saying they’re moving in that direction, but since last month I’ve been exclusively watching yt either through proxy sites and apps or opening it in incog windows where I’m logged out.

      • cy_narrator@discuss.tchncs.deOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Privacy used to be just for people who have something to hide but thats 2012. These days you will have more problems that pop out of nowhere if you dont care about privacy and most of them arent even related to your data being stolen or something.

        As a functional human being you need to have balance in everything. You need privacy but you also need to eat. And your need to eat is greater than your need to privacy.

        A strange thing though, have you not tried uBlock Origin? I have been using uBlock Origin and I dont think I ever saw any ads issues on Youtube.

        Either way, log out of Google services when you dont need it. Only use Incognito browsing mode because it gets cleared automatically.

        • tigeruppercut@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          A strange thing though, have you not tried uBlock Origin? I have been using uBlock Origin and I dont think I ever saw any ads issues on Youtube.

          YT anti-ad block messages started bypassing ublock origin a few weeks ago for some people. You had to update and clear the cache, but the messages came back again and you had to repeat. Looks like google stopped their rollout of it for the time being, but my point about their TOS still stands. I don’t use chrome anymore so I’m not logged in to the browser in general, but because gmail is my primary it’s a pain to log in and out all the time so incog windows for yt are easier for the time being.

    • cactusupyourbutt@lemmy.world
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      1 year ago

      go on pornhub

      dont close the window, just hide it afterwards

      join a meeting, share the screen and type in „po” because you need to go to a website starting with po

      pornhub shows up

      get fired because youre jerking of with company property

  • fmstrat@lemmy.nowsci.com
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    Use profiles instead of incognito when possible. You can have profiles, with different privacy settings, for anything.