ค้นหาฝ่ายสนับสนุน

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

Disable onboarding prompt ("Open previous tabs?") FF 117

  • 3 การตอบกลับ
  • 0 คนมีปัญหานี้
  • 17 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย cor-el

more options

We've recently migrated our Electron app to running a firefox kiosk application on our IoT devices. And one thing that has been happning is that this "Open previous tabs?" banner shows up after closing/reopening firefox. We've configured the following:

lockPref("browser.sessionstore.max_tabs_undo", 0); lockPref("browser.sessionstore.max_windows_undo", 0); lockPref("browser.sessionstore.max_resumed_crashes", 0); lockPref("browser.sessionstore.resume_from_crash", false); lockPref("browser.sessionstore.collect_session_storage", false); lockPref("browser.sessionstore.restore_on_demand", false);

But the banner (which seems to be for onboarding users) does still appear, does anyone know what preferences we are missing?

We've recently migrated our Electron app to running a firefox kiosk application on our IoT devices. And one thing that has been happning is that this "Open previous tabs?" banner shows up after closing/reopening firefox. We've configured the following: lockPref("browser.sessionstore.max_tabs_undo", 0); lockPref("browser.sessionstore.max_windows_undo", 0); lockPref("browser.sessionstore.max_resumed_crashes", 0); lockPref("browser.sessionstore.resume_from_crash", false); lockPref("browser.sessionstore.collect_session_storage", false); lockPref("browser.sessionstore.restore_on_demand", false); But the banner (which seems to be for onboarding users) does still appear, does anyone know what preferences we are missing?
ภาพหน้าจอที่แนบมา

วิธีแก้ปัญหาที่เลือก

Add this line:

lockPref("browser.startup.couldRestoreSession.count", -1);

อ่านคำตอบนี้ในบริบท 👍 1

การตอบกลับทั้งหมด (3)

more options

วิธีแก้ปัญหาที่เลือก

Add this line:

lockPref("browser.startup.couldRestoreSession.count", -1);

มีประโยชน์หรือไม่

more options

Thanks zeroknight! From the tests I did locally this does indeed remove the banner

มีประโยชน์หรือไม่

more options

มีประโยชน์หรือไม่

ถามคำถาม

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.