Ant wrote on 2017.01.04 18:46:
On 1/4/2017 5:24 PM, User wrote:
Ant wrote on 2017.01.04 4:43:
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 did read about the PrefBar extension. However, I thought I had recalled
reading in that Buzilla thread that the PrefBar was using exactly the same
expression internally do purge browser history. If that is the case,
that would
mean that PrefBar would no longer work with SM 2.46, since that is my
problem in
the first place, that the expression no longer works in the error console
evaluation. Are you currently using PrefBar in SM 2.46? I have no
verification
from anyone that PrefBar, which uses the exact same expression, is
currently
working in SM 2.46.

It seems to work for my SM since I quick check my histories often. When I purge
the histories, I can feel the small short pauses too.

I reviewed the entire thread and I have no confirmation of what SM version you are using PrefBar with for deleting your browser history. Are you on SM 2.46 or another version? The other user in this thread is on SM 2.46 but appears not to be using his installed PrefBar for browser history deletion so I still have no confirmation on whether PrefBar works in SM 2.46. If it does, then that doesn't make sense because PrefBar essentially integrated the original expression lifted from that Bugzilla thread and since that expression no longer works in the SM 2.46 error console, I don't see how the PrefBar using the exact same expression in SM 2.46 would be functional.

Usually I would go into SQLite Manager extension installed in SM, run the PLACES.SQLITE compacting, then run the expression in the SM error console, and run the SQLite Manager compacting one more time and would notice a major reduction in the PLACES.SQLITE file size, which then confirms that the expression did its job.
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to