web_browser_history

Get web browser history with the D programming language

Home page: https://github.com/workhorsy/d-web-browser-history

Members

Enums

WebBrowser
enum WebBrowser

The supported web browsers.

Functions

getInstalledBrowsers
WebBrowser[] getInstalledBrowsers()

Returns an array of installed web browsers.

readHistory
void readHistory(WebBrowser browser, void delegate(string url, int visit_count) each_row_cb)

Reads all the history for the selected web browser.

readHistoryAll
void readHistoryAll(void delegate(string url, int visit_count) each_row_cb)

Reads all the history for all the web browsers.

Examples

import web_browser_history;
import std.stdio : stdout;

foreach (browser ; web_browser_history.getInstalledBrowsers()) {
	web_browser_history.readHistory(browser, delegate(string url, int visit_count) {
		stdout.writefln("browser:%s, url:%s, count:%s", browser, url, visit_count);
	});
}

Meta

Version

1.2.0

License

Boost Software License - Version 1.0