14

Ive opened user.js and set browser.startup.page to 3. according to the gui that should resume previous session (0=blank, 1=home, 2=last visited page, 3=resume previous session)

It does say, however, that "Session Restore is cleared with history (2811), and not used in Private Browsing mode", so I set user_pref("privacy.clearOnShutdown.sessions", false); // [DEFAULT: true] to false, but still it opens to a new tab.

other issues: ff opens windowed, and Enhanced Tracking Protection settings dont save (I changed it to block all cross site cookies)

help appreciated :)

top 2 comments
sorted by: hot top controversial new old
[-] temeela@lemmy.blahaj.zone 1 points 1 year ago

As per the arkenfox wiki, you should not touch user.js but rather in user-overrides.js add (or create it) the following:

/* override recipe: enable session restore ***/ user_pref("browser.startup.page", 3); // 0102 // user_pref("browser.privatebrowsing.autostart", false); // 0110 required if you had it set as true // user_pref("browser.sessionstore.privacy_level", 0); // 1003 optional to restore cookies/formdata user_pref("privacy.clearOnShutdown.history", false); // 2811 // user_pref("privacy.cpd.history", false); // 2820 optional to match when you use Ctrl-Shift-Del

See info on overrides and the recipe to enable session restore

[-] strawberry@artemis.camp 1 points 1 year ago

alright thanks. I donth think I broke anything by just messing with the file directly tho?

this post was submitted on 27 Sep 2023
14 points (100.0% liked)

Privacy

32058 readers
1012 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS