On 1/3/2017 9:36 PM, David E. Ross wrote:
...
Try one of the other work-arounds in bug #660646.  One suggests a
PrefBar button; if you have the PrefBar extension installed, the Expire
History button can be added from
<http://prefbar.tuxfamily.org/buttons.html#expirehistory>.  Although I
created that button, I now use the "Expire history by days" extension
from
<https://addons.mozilla.org/en-US/firefox/addon/expire-history-by-days/>.
 I know it works with SeaMonke 2.46; I do not know if the PrefBar button
still works with 2.46.
...

I second this PrefBar suggestion since I still use its purge my SM's history daily to keep only the last 29 days. Its JS button says:

"//  This script was suggested by "al_9x" in a comment in bug #660646
Components.classes['@mozilla.org/browser/nav-history-service;1'].getService(Components.interfaces.nsIBrowserHistory).removeVisitsByTimeframe(0,
     (new Date().setHours(0, 0, 0, 0)
      - (parseInt(prompt('Days of history to keep', 29)) - 1)
      * 24 * 60 * 60 * 1000) * 1000 - 1)"
--
"I ate ants. They weren't that bad." --Leslie Hope
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
   /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
  / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
 | |o   o| |
    \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
     ( )               Axe ANT from its address if e-mailing privately.
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to