mirror of
https://github.com/woodchen-ink/docker-firefox.git
synced 2025-07-18 13:52:02 +08:00
- By default, disable confirmation when quitting using the ctrl+q shortcut. - Wait for Firefox to quit after sending ctrl+q key presses.
8 lines
388 B
JavaScript
8 lines
388 B
JavaScript
// Disable the privacy notice page.
|
|
user_pref("toolkit.telemetry.reportingpolicy.firstRun", false);
|
|
// Prevent closing Firefox when closing the last tab.
|
|
user_pref("browser.tabs.closeWindowWithLastTab", false);
|
|
// Disable confirmation before quitting with Ctrl+Q. Needed to allow Firefox
|
|
// to quit cleanly when container is shutted down.
|
|
user_pref("browser.warnOnQuitShortcut", false);
|