How do mobile browsers define a "closed tab?"

This is something I repeatedly run into with Brave Browser on both iOS and Android. On Android, sites are supposed to “forget me” when I close them. On iOS, sites are supposed to have their data “shredded” (everything has to be cool on an iPhone I guess) when I close them.

There have been many times now where I’ve navigated back to a site such as Reddit or PrivacyGuides where the option to forget/shred is checked, yet I’m still logged in. All tabs from that site are closed, and I haven’t visited in days.

So I’m curious, what exactly constitutes “closed” on mobile? Does it mean I need to close the app instead of allowing it to continue running in the background, even after closing the tabs? On desktop, it seems to have some amount of retention even after closing a tab, but restarting the browser fixes it. I’m tired of having to manually delete site data all the time, especially on Android.

I’ve found that auto shred never seems to work for me on iOS brave and I still have to do it manually. Also tabs that have supposedly been closed will still play audio and eat up battery, although this seems to be an issue with Webkit as a whole. Idk why this happens. ‘Forget me when I close this site’ works perfectly on desktop brave though

There are definitely Web APIs to know if you’re on a website or not. But in this case it’s a simple matter of cookies I guess? :grinning_face_with_smiling_eyes:

Make sure this is on “Forget me when I close this site.”

So, I don’t remember where I read this, but I have confirmed it with testing. The forget me when I close this site feature takes 30 seconds to kick in. So if you keep going back to the website to check if your logged in immediately after closing the tab, then you have reset the timer.

Edit:

Here is where I read it.