Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

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

  • 3 odpovede
  • 0 má tento problém
  • 1 zobrazenie
  • Posledná odpoveď od 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?
Priložené obrázky

Vybrané riešenie

Add this line:

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

Čítať túto odpoveď v kontexte 👍 2

Všetky odpovede (3)

more options

Vybrané riešenie

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