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.
> 

I am using PrefBar 7.1.0 with SeaMonkey 2.46.  HOWEVER, that is for
other PrefBar capabilities.

As I indicated earlier, I switched to using the "Expire history by days"
extension.  It is version 1.2.0 converted at
<http://addonconverter.fotokraina.com/> for compatibility with
SeaMonkey.  The extension's current version 1.2.1 cannot be converted
successfully.

-- 

David E. Ross
<http://www.rossde.com/>.

The only reason we have so many laws is that not enough people will do
the right thing.  (© 1997 by David Ross)
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to