{"id":641,"date":"2014-02-05T10:45:06","date_gmt":"2014-02-05T14:45:06","guid":{"rendered":"http:\/\/ilias.ca\/blog\/?p=641"},"modified":"2019-03-18T18:58:33","modified_gmt":"2019-03-18T22:58:33","slug":"keeping-select-cookies","status":"publish","type":"post","link":"https:\/\/ilias.ca\/blog\/2014\/02\/keeping-select-cookies\/","title":{"rendered":"Keeping select cookies"},"content":{"rendered":"<p>Issues with cookies:<\/p>\n<ul>\n<li>A lot of websites set cookies to do things that you may not like.<\/li>\n<li>A lot of websites set cookies to provide a convenience, like keeping you logged in across sessions.<\/li>\n<li>Some websites require cookies in order to work.<\/li>\n<\/ul>\n<p>For the reasons above, I&#8217;ve decided that it would be best to clear cookies when firefox exits, and find some way to exempt some cookies from being cleared with the rest. To do that in Firefox, I found the setup a little confusing. There is no clear setting to exempt sites from clearing of cookies. As it turns out, the trick is to set the site to allow cookies. Sites in that exceptions list are also deferred when you have Firefox set to clear cookies on exit.<\/p>\n<p>Here&#8217;s how to do it:<\/p>\n<ol>\n<li>Go to the <strong>Options<\/strong> window.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 1px solid black; margin-top: 10px; margin-bottom: 10px;\" alt=\"\" src=\"https:\/\/images.ilias.ca\/clearselectcookies-01-options.png\" width=\"384\" height=\"282\"\/><\/li>\n<li>In the <strong>Privacy<\/strong> panel, set &#8220;<em>Firefox will&#8221;<\/em> to <strong>Use custom settings for history.<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"margin-top: 10px; margin-bottom: 10px;\" alt=\"\" src=\"https:\/\/images.ilias.ca\/clearselectcookies-02-custionhistory.png\" width=\"415\" height=\"454\"\/><\/li>\n<li>Set <em>Keep until<\/em> to <strong>I close Firefox<\/strong>, then click <strong>OK<\/strong>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"margin-top: 10px; margin-bottom: 10px;\" alt=\"\" src=\"https:\/\/images.ilias.ca\/clearselectcookies-03-cookiesexpire.png\" width=\"415\" height=\"454\"\/><\/li>\n<li>For each website you exempted from being cleared on exit, visit it. When viewing the site, click on the <strong>site info icon<\/strong> to the left of the site address, and click <strong>More Information<\/strong>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"margin-top: 10px; margin-bottom: 10px; border: 1px solid black;\" alt=\"\" src=\"https:\/\/images.ilias.ca\/clearselectcookies-04-siteinfo.png\" width=\"413\" height=\"225\"\/><\/li>\n<li>In the <strong>Permissions<\/strong> panel, uncheck <strong>Use Default<\/strong> under <em>Set Cookies<\/em>, and set it to <strong>Allow<\/strong>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"margin-top: 10px; margin-bottom: 10px;\" alt=\"\" src=\"https:\/\/images.ilias.ca\/clearselectcookies-05-allowcookies.png\" width=\"510\" height=\"425\"\/><\/li>\n<\/ol>\n<p>Cookies from those sites set to allow cookies will not be cleared on exit. <strong>No add-on required.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Issues with cookies: A lot of websites set cookies to do things that you may not like. A lot of websites set cookies to provide a convenience, like keeping you logged in across sessions. Some websites require cookies in order&hellip;  <\/p>\n<p class=\"more-link\"><a href=\"https:\/\/ilias.ca\/blog\/2014\/02\/keeping-select-cookies\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,2],"tags":[],"class_list":["post-641","post","type-post","status-publish","format-standard","hentry","category-firefox","category-mozilla"],"_links":{"self":[{"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/posts\/641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/comments?post=641"}],"version-history":[{"count":6,"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/posts\/641\/revisions"}],"predecessor-version":[{"id":932,"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/posts\/641\/revisions\/932"}],"wp:attachment":[{"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/media?parent=641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/categories?post=641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ilias.ca\/blog\/wp-json\/wp\/v2\/tags?post=641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}