Cookie whitelisting- is there a way?
Cookie whitelisting- is there a way?
Author
Discussion

Tisy

Original Poster:

2,095 posts

20 months

Wednesday 5th August
quotequote all
I am trying to set up cookie "rules" so that all cookies are deleted on exit EXCEPT these ones I've whitelisted. However I've discovered that the section "sites allowed to use third-party cookies" doesn't do what I thought it did, as I added my sites there with the expectation that next time I opened my browser and tab for the site, I would already be logged in courtesy of my whitelisted cookie. That is not happening and ALL cookies are being deleted. Is there a way to do this natively in Chrome? I'm aware there are third-party extensions of varying quality where you can customise these things but I'd rather not have another extension constantly running in the background,

I have tried various combinations of allowing/disallowing cookies and attempts with "Sites that can always use cookies" but if "Clear cookies and site data when you close all windows" is set, then it ignores your exception and all data gets cleared. There's a bit of a fine balance to be struck with cookies as disallowing or blocking them completely breaks a lot of sites, so I'm OK witth having them until I switch off but then want them deleted, except the cookies for sites like gmail, pistonheads and other "'login required' sites that I use daily where I want the cookies to be kept to save having to re-login every time.

It's quite possible I'm missing something obvious but I find it strange there isn't an option for "delete all site cookies except from these sites: ..."

r-kid

850 posts

215 months

Wednesday 5th August
quotequote all
Do you need to stay with chrome?

If not Firefox has this exact setting, tick box to clear data on exit with an exceptions list for sites excluded from data deletion.

Tisy

Original Poster:

2,095 posts

20 months

Wednesday 5th August
quotequote all
r-kid said:
Do you need to stay with chrome?

If not Firefox has this exact setting, tick box to clear data on exit with an exceptions list for sites excluded from data deletion.
Yes, needs to be Chrome or Chrome based because one of my go-to sites doesn't play nice for Firefox on my old arse system. I'm actually using Supermium but it's basically Chrome under the hood. I'm trilliang MILK Cookie Manager extension which is doing what I need, however for some reason it doesn't work with Discord and I'm prompted to log-in again at the start of every new browser session. Cookie Editor extension has the same behaviour too. frown

LeoSayer

7,798 posts

272 months

Thursday 6th August
quotequote all
Doesn't incognito mode in Chrome do this?

If you use it only for the sites where you want the cookies deleted.

Edited by LeoSayer on Thursday 6th August 05:52

Tisy

Original Poster:

2,095 posts

20 months

Thursday 6th August
quotequote all
LeoSayer said:
Doesn't incognito mode in Chrome do this?

If you use it only for the sites where you want the cookies deleted.

Edited by LeoSayer on Thursday 6th August 05:52
It does, but that means having 2 browser windows open which I'd rather not have, and also both have the same colour tab on the taskbar leading to clicking on the 'wrong' one sometimes. That said, it's actually what I have going as I couldn't find a better way that works. I'm keeping my "cookied" sites in the normal browser window and using incognito for any random sites. The only issue I'm really having is that google searches in incognito are requiring me to select all the traffic lights before it'll do anything - it really doesn't seem to like not knowing anything about me.

.:ian:.

3,006 posts

231 months

Thursday 6th August
quotequote all
This works for me
Its tucked away a bit though. Settings > Privacy & Security > Site Settings > On device site data
>

LeoSayer

7,798 posts

272 months

Thursday 6th August
quotequote all
Tisy said:
LeoSayer said:
Doesn't incognito mode in Chrome do this?

If you use it only for the sites where you want the cookies deleted.

Edited by LeoSayer on Thursday 6th August 05:52
It does, but that means having 2 browser windows open which I'd rather not have, and also both have the same colour tab on the taskbar leading to clicking on the 'wrong' one sometimes. That said, it's actually what I have going as I couldn't find a better way that works. I'm keeping my "cookied" sites in the normal browser window and using incognito for any random sites. The only issue I'm really having is that google searches in incognito are requiring me to select all the traffic lights before it'll do anything - it really doesn't seem to like not knowing anything about me.
Other than that, I remember years ago using CCleaner which had a user-maintained whitelist of cookies it didn't delete when you ran it. I think you could schedule that to run every day but it doesn't meet your exact requirement of deletion when you close the browser.

Tisy

Original Poster:

2,095 posts

20 months

Thursday 6th August
quotequote all
.:ian:. said:
This works for me
Its tucked away a bit though. Settings > Privacy & Security > Site Settings > On device site data
>
Assuming that's Chrome, that deletes ALL your cookies on exit so you have to login to everything on restart. I've already tried that.

.:ian:.

3,006 posts

231 months

Friday 7th August
quotequote all
Tisy said:
Assuming that's Chrome, that deletes ALL your cookies on exit so you have to login to everything on restart. I've already tried that.
You can white list sites so data from those is not deleted, google, youtube and ebay in my screenshot.

juice

9,833 posts

310 months

Friday 7th August
quotequote all
Have you tried cookiebro ?

Tisy

Original Poster:

2,095 posts

20 months

Friday 7th August
quotequote all
juice said:
Have you tried cookiebro ?
I have, It works partially. For reasons it refuses to recognise Discord cookies despite basically force-feeding them to it.

@ Ian, I am puzzled by how that is apparently working for you but it deletes them upon close for me. When you first open your browser and go to chrome://settings/content/all , are those the only 3 items in the list ?

.:ian:.

3,006 posts

231 months

Saturday 8th August
quotequote all
Tisy said:
I have, It works partially. For reasons it refuses to recognise Discord cookies despite basically force-feeding them to it.

@ Ian, I am puzzled by how that is apparently working for you but it deletes them upon close for me. When you first open your browser and go to chrome://settings/content/all , are those the only 3 items in the list ?
Yeah, it does show other domains, but those only contain youtube cookies.