General :  K-Meleon Forum
General discussion about K-Meleon. 
Control timeframe of config "browser.visited_color"
Posted by: KM2005
Date: April 18, 2017 04:45AM

What config setting controls the number of days "browser.visited_color" stays it's color (default purple)?

Options: ReplyQuote
Re: Control timeframe of config "browser.visited_color"
Posted by: JohnHell
Date: April 18, 2017 05:11AM

History, always has been history.

Remove an entry from history and you'll see what happens.


EDIT:
In newer K-meleon (Gecko, actually), started to have an history about number of entries, instead time, and if you don't set a limit, it is system dependant (whatever way is calculated). It isn't as before where you set history for... for example, 60 days.

EDIT 2:

I better elaborate a little the above. You can control it by setting a number in the preference places.history.expiration.max_pages. I talked about this earlier and, in my case, for 2 months, I need a number of about 20000.

Note that places.history.expiration.max_pages and places.history.expiration.transient_current_max_pages are linked, so change both values at once and restart K-meleon. Even though the second is a copy of the first.



Edited 3 time(s). Last edit at 04/18/2017 05:30AM by JohnHell.

Options: ReplyQuote
Re: Control timeframe of config "browser.visited_color"
Posted by: KM2005
Date: April 18, 2017 05:54AM

Quote
JohnHell
I better elaborate a little the above. You can control it by setting a number in the preference places.history.expiration.max_pages. I talked about this earlier and, in my case, for 2 months, I need a number of about 20000.

Note that places.history.expiration.max_pages and places.history.expiration.transient_current_max_pages are linked, so change both values at once and restart K-meleon. Even though the second is a copy of the first.
Maybe the first digit is about the number of months then.

Options: ReplyQuote
Re: Control timeframe of config "browser.visited_color"
Posted by: JohnHell
Date: April 18, 2017 06:12AM

Quote
KM2005
Quote
JohnHell
I better elaborate a little the above. You can control it by setting a number in the preference places.history.expiration.max_pages. I talked about this earlier and, in my case, for 2 months, I need a number of about 20000.

Note that places.history.expiration.max_pages and places.history.expiration.transient_current_max_pages are linked, so change both values at once and restart K-meleon. Even though the second is a copy of the first.
Maybe the first digit is about the number of months then.

Nop.

If you don't trust me, go here:
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Places/Places_Expiration

It is just a coincidence that I visit about 20000 every two months. But, at the same time, if, for whatever reason, I visit more this week, I could drop from the history more addresses, therefore, my history would be less than two months. And, of course, the opposite.


It is tricky, but to determine a time frame, I had to open places.sqlite with the SQuilte Manager extension, take note of the number of places I had in moz_places table in the database and sort all by last visited, take the lower number and convert the epoch time to human readable.

If after that you found that it is too much for you, you can lower the limit of urls in the database, if you find that find that you have very few, you will have to set a higher number. And, that, without forgetting that, depending on how many sites do you visit in a given time frame, it will make to have a larger time frame of history urls or shorter.



Edited 1 time(s). Last edit at 04/18/2017 06:13AM by JohnHell.

Options: ReplyQuote
Re: Control timeframe of config "browser.visited_color"
Posted by: KM2005
Date: April 18, 2017 06:30AM

Quote
JohnHell
You can control it by setting a number in the preference places.history.expiration.max_pages.

I suppose what is meant is about:config
I don't have a places.history.expiration.max_pages in config. Add,
places.history.expiration.max_pages user set integer?
By default, my ...transient.. value is 27918.

Options: ReplyQuote
Re: Control timeframe of config "browser.visited_color"
Posted by: JohnHell
Date: April 18, 2017 07:04AM

Quote
KM2005
Quote
JohnHell
You can control it by setting a number in the preference places.history.expiration.max_pages.

I suppose what is meant is about:config
I don't have a places.history.expiration.max_pages in config. Add,
places.history.expiration.max_pages user set integer?
By default, my ...transient.. value is 27918.

Yes.
It is because, by default, it is calculated.
Yes, an integer.
That value is based on your system specs. After setting the other preference, should take the value from there, but I recommend to change at the same time. Sometimes that pref seems dumb and don't like to set that value.


If you want to refine your value, use this custom History.xul file that shows dates:
http://kmeleonbrowser.org/forum/read.php?2,140723



Edited 3 time(s). Last edit at 04/18/2017 07:13AM by JohnHell.

Options: ReplyQuote
Re: Control timeframe of config "browser.visited_color"
Posted by: JohnHell
Date: April 18, 2017 07:14AM

I forgot my history modification LOL

Use it to check dates without those complications (I removed from the above post) tongue sticking out smiley

http://kmeleonbrowser.org/forum/read.php?2,140723



Edited 2 time(s). Last edit at 04/18/2017 07:17AM by JohnHell.

Options: ReplyQuote
Re: Control timeframe of config "browser.visited_color"
Posted by: KM2005
Date: May 21, 2017 09:43PM

Quote
JohnHell
... history modification

...Use it to check dates...

http://kmeleonbrowser.org/forum/read.php?2,140723

Installed today. Much used. Thanks a lot.

Options: ReplyQuote
Re: Control timeframe of config "browser.visited_color"
Posted by: KM2005
Date: May 21, 2017 10:40PM

Quote
JohnHell
...history modification...

I browsed through the Development forum, etc. Does the Latest Development Release,
K-Meleon 76 RC or K-Meleon 76 Pro, contain such fine updates?

Options: ReplyQuote
Re: Control timeframe of config "browser.visited_color"
Posted by: JohnHell
Date: May 22, 2017 12:40AM

Quote
KM2005
Quote
JohnHell
...history modification...

I browsed through the Development forum, etc. Does the Latest Development Release,
K-Meleon 76 RC or K-Meleon 76 Pro, contain such fine updates?

The RC and RC2, being official, no, not yet as the date of I released my changes.

For the unofficial custom version, called Pro, by rodocop, only him can answer it. Or download it and test it ;)



Edited 1 time(s). Last edit at 05/22/2017 12:41AM by JohnHell.

Options: ReplyQuote
Re: Control timeframe of config "browser.visited_color"
Posted by: rodocop
Date: May 23, 2017 06:25PM

sorry, this update isn't included in Pro-build.

I should prepare it for the next 'release'


Latest Release KM75.1 Latest dev KM76RC ||| Visit The K-Meleon Place and join me there!
Old good stuff: KM-1.6db+NS © dugbugoffice // KM-16-S2014 © Fred // KM-1.6beta2.6 © JamesD // KM Twin+ © rodocop // KM 1.8.24.22 © adodupan

RECOMMENDED! K-Meleon 76 Pro ==» Download portable: 7zip or EXE =//= Discuss on forum
K-Meleon 75.1 Pro: Download =//= Discuss || Portable Flash plugin (x86/x64 DLLs)

Options: ReplyQuote


K-Meleon forum is powered by Phorum.