Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Deleting Cookies Automatically Except Whitelisted

43 views
Skip to first unread message

slyph...@gmail.com

unread,
Nov 17, 2018, 3:40:12 PM11/17/18
to mozilla-sup...@lists.mozilla.org
Ffx 63.0.3 / Win(32) 7 Pro SP1

I seem to recall that many versions ago of Firefox there was a setting which allowed the user to automatically delete all cookies and cache when the browser closed except for whitelisted sites. If that facility is still available, I cannot find it in the settings. I am looking for the same sort of capability: delete all cookies automatically when I close Ffx except for those I explicitly exempt from from doing so. I have looked at the Extensions and see one that might do the trick, but I thought I would pick the brains / experience of the user community in case someone knows what works. It is a real pain now to have to scrub out cookies by hand in order to save ones for particular sites. Thanks very much.

Mark Lloyd

unread,
Nov 18, 2018, 2:08:05 PM11/18/18
to mozilla-sup...@lists.mozilla.org
On 11/17/18 1:32 PM, slyph...@gmail.com wrote:
> Ffx 63.0.3 / Win(32) 7 Pro SP1
>
> I seem to recall that many versions ago of Firefox there was a setting which allowed the user to automatically delete all cookies and cache when the browser closed except for whitelisted sites. If that facility is still available, I cannot find it in the settings. I am looking for the same sort of capability: delete all cookies automatically when I close Ffx except for those I explicitly exempt from from doing so. I have looked at the Extensions and see one that might do the trick, but I thought I would pick the brains / experience of the user community in case someone knows what works. It is a real pain now to have to scrub out cookies by hand in order to save ones for particular sites. Thanks very much.

I've been using that facility even since it's been introduced.

"Preferences" / "Privacy & Security" / "Cookies & Site Data". There's a
select box marked "Keep Until", which needs to be set to "I Close
Firefox". You may also want to block third-party cookies here.

To make an exception for the current page: select "View Page Info" from
the right click menu, "Permissions" tab, scroll to "Set Cookies".

--
38 days until the winter celebration (Tue Dec 25, 2018 12:00:00 AM for 1
day).

Mark Lloyd
http://notstupid.us/

If a member of McDonalds' staff was God:

"OK, one Universe. Uh, you want
fries with that?"

slyph...@gmail.com

unread,
Nov 18, 2018, 6:15:25 PM11/18/18
to mozilla-sup...@lists.mozilla.org
On Sunday, November 18, 2018 at 2:08:05 PM UTC-5, Mark Lloyd wrote:
> On 11/17/18 1:32 PM, slyph...@gmail.com wrote:
> > Ffx 63.0.3 / Win(32) 7 Pro SP1
> >
> > I seem to recall that many versions ago of Firefox there was a setting which allowed the user to automatically delete all cookies and cache when the browser closed except for whitelisted sites. If that facility is still available, I cannot find it in the settings. I am looking for the same sort of capability: delete all cookies automatically when I close Ffx except for those I explicitly exempt from from doing so. I have looked at the Extensions and see one that might do the trick, but I thought I would pick the brains / experience of the user community in case someone knows what works. It is a real pain now to have to scrub out cookies by hand in order to save ones for particular sites. Thanks very much.
>
> I've been using that facility even since it's been introduced.
>
> "Preferences" / "Privacy & Security" / "Cookies & Site Data". There's a
> select box marked "Keep Until", which needs to be set to "I Close
> Firefox". You may also want to block third-party cookies here.
>
> To make an exception for the current page: select "View Page Info" from
> the right click menu, "Permissions" tab, scroll to "Set Cookies".

Thanks for the response. However, I am still not sure of one thing. If I Set Cookies via View Page Info, will that keep the cookies when I close Ffx even if I make the general setting in Privacy & Security to delete cookies when I close? The whole point of the query is that if I do not allow some cookies to persist, then when I try to login to certain websites, I have to go through a tedious process that is shortened if I have persisting cookies for those explicitly whitelisted sites.

Chris Ilias

unread,
Nov 18, 2018, 7:17:27 PM11/18/18
to mozilla-sup...@lists.mozilla.org
On 2018-11-18 5:34 p.m., slyph...@gmail.com wrote:

> Thanks for the response. However, I am still not sure of one thing.
> If I Set Cookies via View Page Info, will that keep the cookies when
> I close Ffx even if I make the general setting in Privacy & Security
> to delete cookies when I close? The whole point of the query is that
> if I do not allow some cookies to persist, then when I try to login
> to certain websites, I have to go through a tedious process that is
> shortened if I have persisting cookies for those explicitly
> whitelisted sites.

Yes, those cookies will be kept. See
<http://ilias.ca/blog/2014/02/keeping-select-cookies/>.

--
<http://ilias.ca/links>
Mailing list/Newsgroup moderator

PietB

unread,
Nov 19, 2018, 4:38:39 AM11/19/18
to mozilla-sup...@lists.mozilla.org
Chris Ilias wrote:
> slyphnoyde wrote:
>> Thanks for the response. However, I am still not sure of one thing.
>> If I Set Cookies via View Page Info, will that keep the cookies when
>> I close Ffx even if I make the general setting in Privacy & Security
>> to delete cookies when I close? The whole point of the query is that
>> if I do not allow some cookies to persist, then when I try to login
>> to certain websites, I have to go through a tedious process that is
>> shortened if I have persisting cookies for those explicitly
>> whitelisted sites.
>
> Yes, those cookies will be kept. See
> <http://ilias.ca/blog/2014/02/keeping-select-cookies/>.

That's a pretty coarse method though. What you really want it to make
only specific cookies of a site persist, and to make their persistence
longer than the expiration timestamp set by the site.
This is exactly one of the reasons why I stick to Palemoon and, as a
backup, an older Firefox version, with the Cookie Manager+ add-on.
Whether there is something functionally equivalent I don't know.

-p

Mark Lloyd

unread,
Nov 19, 2018, 10:14:34 AM11/19/18
to mozilla-sup...@lists.mozilla.org
On 11/18/18 4:34 PM, slyph...@gmail.com wrote:

[snip]

> Thanks for the response. However, I am still not sure of one thing. If I Set Cookies via View Page Info, will that keep the cookies when I close Ffx even if I make the general setting in Privacy & Security to delete cookies when I close? The whole point of the query is that if I do not allow some cookies to persist, then when I try to login to certain websites, I have to go through a tedious process that is shortened if I have persisting cookies for those explicitly whitelisted sites.

The "Permissions" setting I told you about creates an exception to the
rule "Keep until I close Firefox". However, there are some sites that
depend on cookies set by other sites, although I seldom have a problem
with this.

--
36 days until the winter celebration (Tue Dec 25, 2018 12:00:00 AM for 1
day).

Mark Lloyd
http://notstupid.us/

"Any violence which does not spring from a spiritual base, will be
wavering and uncertain. It lacks the stability which can only rest in a
fanatical outlook." [Adolph Hitler, _Mein Kampf_, p. 171]

Andy Burns

unread,
Nov 19, 2018, 1:39:47 PM11/19/18
to mozilla-sup...@lists.mozilla.org
Mark Lloyd wrote:

> there are some sites that depend on cookies set by other sites

I block all 3rd party cookies, so such sites are S.O.L.

slyph...@gmail.com

unread,
Nov 19, 2018, 4:14:45 PM11/19/18
to mozilla-sup...@lists.mozilla.org
Thanks very much for all the responses. I will try the suggestions as soon as I have a chance. Actually, there are only a few websites for which I want cookies to persist, so setting them up should not be a problem.

Mark Lloyd

unread,
Nov 20, 2018, 11:01:57 AM11/20/18
to mozilla-sup...@lists.mozilla.org
Sometimes a site REQUIRES third-party cookies (from a particular site).
My bank's site used to (although it's been awhile since that's changed).
There was NO indication of this requirement, just an unexplained endless
click-loop (where clicking a link leads to the same page, or something
other than what it's supposed to do).

--
35 days until the winter celebration (Tue Dec 25, 2018 12:00:00 AM for 1
day).

Mark Lloyd
http://notstupid.us/

"When people learn no tools of judgment and merely follow their hopes,
the seeds of political manipulation are sown." [Stephen Jay Gould]

Andy Burns

unread,
Nov 20, 2018, 12:40:09 PM11/20/18
to mozilla-sup...@lists.mozilla.org
Mark Lloyd wrote:

> Andy Burns wrote:
>
>> I block all 3rd party cookies, so such sites are S.O.L.
>
> Sometimes a site REQUIRES third-party cookies (from a particular site)

Then I leave the site. I used to have a a small number of exceptions,
but not any more, also every cookie gets deleted every few days when I
restart the browser (I use an add-on that blocks the resulting flurry of
popup cookie warnings)
0 new messages