A couple add-ons for Places maintenance

Listening to feedback I got from some user on my blog, I've put together a couple experimental restartless add-ons to solve some specific needs.

Expire History By Days

This does exactly what the name says, you can setup a fixed amount of days after which your visits will be expired, you may also "disable" Places automatic expiration from it.  This covers some exotic use cases, that were reported to me after the recent changes to history expiration.  Notice that if you don't have really specific needs for this, it's better to not use this add-on at all, Places tries to do its best to preserve performances and data, without the need of external help.  Plus the first expirations done with this add-on may take quite some time (they happen during idle though). No warranties, but since you asked for it...

Places Maintenance

This gives better access to Places Maintenance component, allows to run some cleanup task, reindexing, checking stats and vacuum.  It's mostly useful for support reasons and to try fixing common corruption cases.  As for the other add-on, unless you have some specific support need, Places already executes these tasks once a week, and vacuum once a month (yes, no need for any add-on to do that). Notice on Firefox 5 it will wrongly open a full browser window rather than a dialog window, it's a known bug fixed in Firefox 6.

MaK Venerdì 05 Agosto 2011 at 2:37 pm | | Mozilla-EN

sette commenti

pip25

Awesome, thank you. Too bad “Expire History By Days” apparently needs Firefox 7 to run O_o, I would have definitely tried it out.

pip25 , 11-08-’11 02:10.
MaK

I wanted to experiment with some new bootstrapped add-ons features, that limits the compatibility, but the add-on is really simple, anybody could replicate it for previous versions. Btw, Firefox 7 is just behind the corner, in September.

MaK (URL), 11-08-’11 08:22.
Confused

Sorry, I know this is the wronf place to ask this, but I’ve just installed Firefox 7 & I’m utterly confused. My IE7 stopped recording my history so I wanted an alternative. But I can’t get F7 to display history by days & weeks, like ie7, I can’t find a setting how to set a history limit, or increase it, & F7 DOES NOT ask for confirmation before it deletes a site, unlike IE7.

Any advice would be much appreciated. :(

Confused , 20-10-’11 12:32.
hus787

the new history management scheme seems to be creating a problem with the sync. since not all my history get synced.
ive upgraded to ff7 and have around 40-50k pages(~500days)listed in my history.. the upgraded dint (fortunately) plunder/truncate my history cuz i had previously set browser.history_expire_days.mirror;9999 , browser.history_expire_days_min;9999 and browser.history_expire_sites;9999999 which is still visible, well functioning and luckily overriding places – presumably.
now the question here is that how can i make sync retrieve the entire history base and then get the entire thing successfully synced across multiple devices without truncation based on places heuristics/algorithm/etc settings?
ur addon doesnt seems to help sync get the entire history out cuz after installing it(on all devices/profiles) and resyncing the entire thing (150+M places.sqlite) takes up just ~600K of quota (sanity testing indicates something wrong).
PS:places.history.expiration.transient_current_max_pages;21464 plus this new scheme seems to benefit rather then hurt a large majority of the user(who largely care about performance) but is really annoying to a handful(me inclusive) so i hope u ff finds a solution to this self created problem (a slight degradation in the performance could be catered.at least by me)

hus787 , 03-11-’11 18:04.
MaK

The expire-by-days add-on allows you to disable expiration and keep infinite history, at performances cost.
Regardind Sync, I doubt it will ever sync all of history, since that’s a too large amount of data, it is limited to a certain amount of recent history.

MaK (URL), 04-11-’11 18:07.
zeus

Am I correct in my understanding that all this addon does (in regards to infinite history) is set places.history.expiration.max_pages to 999999. Which can be done in about:config manually? or is there more to it?

Something that would be very handy to me, but I suspect a lot of work and of minimal use to most people would be some sort of advanced mode. Remembering the full history for a few domains specified via regex or something and having history expire like normal for the rest.

zeus , 06-11-’11 11:41.

Uno o più commenti sono in attesa di approvazione.

(optional field)
(optional field)

In questo sito si attua la moderazione dei commenti. Questo significa che il tuo commento non è visibile finché non viene approvato da un moderatore.

Mantenere le informazioni personali?
Nota: Tutti i tag HTML eccetto <b> e <i> saranno rimossi dal commento. Puoi inserire collegamenti semplicemente scrivendo un URL o un indirizzo e-mail.