{"id":1141,"date":"2008-09-16T17:04:03","date_gmt":"2008-09-16T21:04:03","guid":{"rendered":"http:\/\/blogs.n1zyy.com\/n1zyy\/?p=1141"},"modified":"2008-09-16T17:04:03","modified_gmt":"2008-09-16T21:04:03","slug":"firefoxs-history-setting","status":"publish","type":"post","link":"https:\/\/blogs.n1zyy.com\/n1zyy\/2008\/09\/16\/firefoxs-history-setting\/","title":{"rendered":"Firefox&#8217;s History Setting"},"content":{"rendered":"<p>I use the history in my browser often, to find sites I&#8217;ve visited. It&#8217;s precisely because I use it so often that it annoys me when it grows large. Especially as I moved my site around, I&#8217;m seeing lots of pages that no longer exist pop up in the history when I go to visit a site. I&#8217;d like to purge the old ones.<\/p>\n<p>Tools -> Options -> Privacy has a setting, &#8220;Keep my history for at least __ days,&#8221; but note that &#8220;at least.&#8221; Mine&#8217;s gone way past the 7 days I have set.<\/p>\n<p>By entering <tt>about:config<\/tt>, I discovered something: that&#8217;s called browser.history_expire_days_min, which I&#8217;d set to 7. But there&#8217;s also a <strong>browser.history_expire_days<\/strong>, still at 180. (Along with a <strong>browser.history_expire_days.mirror<\/strong>)<\/p>\n<p>It <a href=\"http:\/\/kb.mozillazine.org\/Browser.history_expire_days_min\">turns out<\/a> that the _min tells Firefox when it <em>can<\/em> delete an entry, but it won&#8217;t unless it&#8217;s short on space. Firefox 3 apparently makes this automatic, but wasn&#8217;t designed for people with a severe case of OCD who <em>want<\/em> things to age out after a while.<\/p>\n<p>Setting history_expire_days (and history_expire_days.mirror) to 14 solved the problem: now things get saved for at least 7 days, but not to exceed 14. No more 6-month-old history entries!<\/p>\n<p><strong>Edit<\/strong>: A lot of people are searching for <code>history_expire_days.mirror<\/code>, which is fairly cryptic. <a href=\"http:\/\/websvn.wyzo.com\/filedetails.php?repname=wyzo&#038;path=%2Fmozilla%2Fbrowser%2Fcomponents%2Fpreferences%2Fprivacy.js&#038;sc=1\">This portion<\/a> of the source code was indexed by Google*, and defines <code>browser.history_expire_days.mirror<\/code> as &#8220;a preference whose value mirrors that of browser.history_expire_days, to make the &#8220;days of history&#8221; checkbox easier to code.&#8221; So just set it to the same as history_expire_days if you&#8217;re changing it!<\/p>\n<ul>\n<li>It&#8217;s open source, so it&#8217;s not like it&#8217;s hard to find the source code.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>I use the history in my browser often, to find sites I&#8217;ve visited. It&#8217;s precisely because I use it so often that it annoys me when it grows large. Especially as I moved my site around, I&#8217;m seeing lots of &hellip; <a href=\"https:\/\/blogs.n1zyy.com\/n1zyy\/2008\/09\/16\/firefoxs-history-setting\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1141","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/1141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/comments?post=1141"}],"version-history":[{"count":0,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/1141\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/media?parent=1141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/categories?post=1141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/tags?post=1141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}