Module history
Save history in sqlite3 database
This module provides browsing history support. Pages are saved to an on-disk database automatically as the user browses.
The luakit://history/ page is provided by the history_chrome
module.
Functions
history.init ()
Connect to and initialize the history database.
history.add (uri, title, update_visits)
Add a URI to the user's history.
Parameters
-
uriType: stringThe URI to add to the user's history.
-
titleType: stringThe title to associate with the URI.
-
update_visitsType: booleanOptionalDefault:
true
false
if the last visit time for this URI should not be updated.
Properties
history.db_path
Type: any type
Read-write
Path to history database.
history.frozen
Type: {[string]=boolean}
Read-write
Set of webviews on which to freeze history collection.
Attribution
Copyright
- 2010–2011 Mason Larobina