Hexa's Blog

Conkeror, Deleting all history instantly

02/05/2015 Conkeror

There is a small function you have to write to delete your history instantly. source

function history_clear () {
    var history = Cc["@mozilla.org/browser/nav-history-service;1"]
        .getService(Ci.nsIBrowserHistory);
    history.removeAllPages();
}
interactive("history-clear",
    "Clear the history.",
    history_clear);