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 :)

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
creator
link
fedilink
19M

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

Create a post

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

  • Posting a link to a website containing tracking isn’t great, if contents of the website are behind a paywall maybe copy them into the post
  • Don’t promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

  • 0 users online
  • 57 users / day
  • 383 users / week
  • 1.5K users / month
  • 5.7K users / 6 months
  • 1 subscriber
  • 2.47K Posts
  • 58.8K Comments
  • Modlog