Closed Bug 78915 Opened 23 years ago Closed 23 years ago

restrict the global history list to x elements

Categories

(Core Graveyard :: History: Global, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 55293

People

(Reporter: vbossica, Assigned: alecf)

Details

Save of only the x last url visited (like in the session history).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: restrict the list to x elements → restrict the global histort list to x elements
Summary: restrict the global histort list to x elements → restrict the global history list to x elements
what? This bug makes no sense. please explain what you're asking for, or I'll
mark this bug invalid.
Edit|Preferences|Navigator|History - "Expire pages in History after X days"

that's how you limit your Global history entries. Recommend wontfix/invalid.
Goal is to disable the insertion of items into the list and the saving in the
text file.  The option "Expire pages..." is not relevant because it is called
only in the destructor of nsGlobalHistory and not before the insertion and the
saving.

Solutions:
----------

- check the expiration date _before_ the insert: it will solve my problem but
not for people who want to keep the list only one day (which makes sense)
- quit the AddPage method before the insertion: what I do but IMHO not the
nicest solution
- limit the size of the list (like in the Session History) to x (in my case 0)
elements

But this last solution requires some work.
ok, there's already a bug about expiring entries more regularily than just on
startup/shutdown, so I'm going to say this is a dupe of that.. otherwise I'll
just mark WONTFIX.. 

*** This bug has been marked as a duplicate of 55293 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
mass-verifying Duplicate bugs which haven't changed since 2001.12.31.

set your search string in mail to "CitizenGKar" to filter out these messages.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.