
Can I save my private window web history in a file on my computer?
Hello,
I was wondering if there was anyway I could save my private window web history to a file on my computer. Multiple people use this computer so I like to browse in private mode, however, there are some sites I'd like to be able to save as well.
Thanks for you time
Nikki
All Replies (3)
No, thats the point in private, there is no history. But you can all have your own profiles and using profilemanager to switch between them "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -profilemanager
You can also start profilemanager by writing in search (or run) option on your startmenu firefox.exe -ProfileManager
read about it here: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
Modified
I found this link on a add-on that can put password on your profile. https://nic-nac-project.org/~kaosmos/profilepassword-en.html#PPFF Good luck
You can bookmark pages that you are interested in and want to keep.
You can save a copy of the current session data.
You can open the Browser Console (Firefox/Tools > Web Developer). Paste the JavaScript code in the command line and press the Enter key to run the code.
- Toggle the devtools.chrome.enabled pref on the about:config page to true to enable the command line
- https://developer.mozilla.org/Tools/Browser_Console#Browser_Console_command_line
var ss = Cc['@mozilla.org/browser/sessionstore;1'].getService(Ci.nsISessionStore); var ssjsonstr = ss.getBrowserState(); var output = ssjsonstr; var fp = Cc["@mozilla.org/filepicker;1"].createInstance(Ci.nsIFilePicker); var stream = Cc["@mozilla.org/network/file-input-stream;1"].createInstance(Ci.nsIFileInputStream); fp.init(window,"",Ci.nsIFilePicker.modeSave); fp.defaultString="session.json"; if (fp.show() != fp.returnCancel){ var stream=Cc["@mozilla.org/network/file-output-stream;1"].createInstance(Ci.nsIFileOutputStream); stream.init(fp.file,0x04|0x08,0644,0); stream.write(output,output.length); stream.close(); }
You can look at this post in this MozillaZine forum thread about inspecting a sessionstore file.