Clear cookies and data on tab close
-
On Android (maybe also iOS, I don't know), you can "Clear session browsing data on exit," but on a mobile device that basically never happens. I almost never close anything on Android. I do not like to keep cookies and data around longer than the page being open, so I basically block all cookies and only make per-site exceptions. This is a pain to do. On desktop, I can use the Cookie Auto Delete extension, but on mobile, extensions are not supported.
My ultimately preferred option is to enable extensions, but I suspect that is not going to happen anytime soon. So instead, I'd like Vivaldi to support this functionality natively.
Basically, what I want is if the user has, say, 3 tabs open:
Tab1: example1.com
Tab2: example2.com
Tab3: example2.com (same domain as Tab2)If I close Tab3, I want nothing to happen because those cookies and data are still being used in Tab2. If I then close Tab2 also, then all cookies associated with that doman (and any subdomains and any 3rd party cookies loaded by that tab, but not by other tabs) to be deleted. Optionally, all other data for those tabs to be deleted too. This can happen instantaneously or after a timeout, I don't care.
-
Exactly what I was looking for, except I would like the same thing on the desktop.
The reality is I almost never completely close the browser, I only close tabs. And if I close all the tabs for a site on the "exit" list, I want the cookies gone.
A timer that checks periodically for sites from the exit list and clears the cookies if they aren't present would be fine, it doesn't need to be instant. Just not waiting for a browser shutdown.
-
@jercox said in Clear cookies and data on tab close:
Exactly what I was looking for, except I would like the same thing on the desktop.
I made a Feature Request for desktop version some time ago:
-
Yeah the CAD extension is pretty sweet, it has all of the functionality I want for this feature request. But unfortunately it's not available in the mobile version. A solution to this problem for me would either be:
- Support this functionality natively.
OR
- Support extensions in Vivaldi Mobile so I can use the CAD extension.
I maybe have a slight preference for extensions because I would also like to install ublock origin (yes, I know about built-in content blocking and tracking protection) and that would kill two birds with one stone.
-
@denholmhsun I've tried that but this does not work for me for two reasons:
-
In private or incognito mode, my URL history is not saved. I want it to be saved. This is not a bug, this is what I would expect from incognito mode.
-
It does not clear cookies as I would expect. If I allow cookies, then log into a website in an incognito tab (I used a net banking site as an example) and then close the tab (without logging out), wait about 30 seconds, I can open a new incognito tab and click "login" and the site will not ask me for my username and password again. It just logs me in immediately. Clearly, some cookies or other data have been stored and not deleted. If I then go to regular mode, the site will ask me for may username and password again. I want all cookies and site data purged after closing the tab, so the site should not know who I am when I return. This works perfectly on the desktop(or firefox/android) with the CAD extension.
Sorry if that wasn't clear before.
-
-
It's been about 2 years, so I thought I'd send everyone a reminder. This option is something I'd really like and is great for privacy minded people.
There is another thread that's similar, but I'm not sure if it's the same here: https://forum.vivaldi.net/topic/40073/option-to-clear-cookies-on-exit-and-dedicated-whitelist. It mentions clearing cookies "on exit." What I'm talking about is "on tab close" (with the browser still running). Basically, the exact functionality of the Cookie Auto Delete extension on desktop.
I think it's also increased in importance since the extensions request has been closed: https://forum.vivaldi.net/post/653520. This means that Cookie Auto Delete will not be making it into the mobile Vivaldi browser.
Even a stop-gap measure of using incognito all the time will not work: https://forum.vivaldi.net/topic/40078/option-to-use-private-mode-by-default. This is because you cannot get external apps to open in private mode, no matter what you do.
So I'd like to re-up my feature request for this. I'm also willing to combine it with the "on exit" feature, if that makes sense. Thanks.
-
I would also like to add that using incognito by default does not save the URL history and will also clear all open tabs when the browser is closed. This basically makes it almost useless for this feature request. It's better than nothing, but not by much.