Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Is there a way to save my browser history?

  • 4 replies
  • 1 has this problem
  • Last reply by cor-el

more options

Saving my browser history as a word document results in an unreadable file of text. I have found possible solutions as add on files. Is one better than another?

All Replies (4)

more options

You might find something to help you here; Go to the Mozilla Add-ons Web Page {web Link} (There’s a lot of good stuff here) and search for what you want.

The file that holds that information is compressed.

more options
more options

partitioner said

Saving my browser history as a word document results in an unreadable file of text.

By the way, what method did you try???

The places.sqlite file that stores history and bookmarks is a SQLite database and requires a tool that understands the database structure to extract the data into a sensible format. If you find a good one, let us know.

more options

In principle you can select history items in the right pane in the History Manager (Library) and use Copy in the right-click context menu to copy the selection to the clipboard. This places the history items as "<a href>" links on the clipboard (text/html) (legacy format used for bookmarks.html). You can paste the text/html flavor in an HTML capable editor to backup the history.

You can run this code in the Browser Console to convert text/html => text/unicode. You can paste it in a text editor (e.g. Scratchpad) and save it. First paste the code in the Browser Console, but do not press Enter. Then go to the Library and copy selected bookmarks or (download) history items to the clipboard. Then go back to the Browser Console and press the Enter key to run the code you pasted before. If you need to repeat this then use cursor Up to recall the code in the Browser Console.

Paste the JavaScript code in the command line. Press the Enter key to evaluate the JavaScript code.

var cb = Services.clipboard;
var ps = Services.prompt;
var flavor = ["text/unicode","text/html"];
var cb_i = 1, cb_o = 0;
var trans = Cc[";1"].createInstance(Ci.nsITransferable);
var str = {}, strLength = {}, data = "";
trans.getTransferData(flavor[cb_i], str, strLength);
if(str && str.value){
data = str.value.QueryInterface(Ci.nsISupportsString).data;
str = Cc[";1"].createInstance(Ci.nsISupportsString); = data;
trans.setTransferData(flavor[cb_o], str, data.length * 2);
cb.setData(trans, null, cb.kGlobalClipboard);
console.log("Clipboard:", flavor[cb_i], "=>", flavor[cb_o]);
}catch(e){ console.log(e.toString()); }