X
Tap here to go to the mobile version of the site.

Support Forum

How do I make Firefox warn me before quitting?

Posted

How do I make Firefox warn me before quitting? I'm on a Mac (OS 10.6.8) using Firefox 25.0.1. I have Firefox Preferences set to clear history before quitting, which makes it especially important for me to avoid quitting by accident. I don't seem to be able to access the config editor to fix this; anything i enter in the location bar autocompletes (even though I don't want it to) and takes me to the web.

I've tried accessing the config editor through Thunderbird (which I also use) -- thinking that config editor might be shared with Firefox -- but (though there are numerous browser options) there is no "browser.show" option there.

How do I make Firefox warn me before quitting? I'm on a Mac (OS 10.6.8) using Firefox 25.0.1. I have Firefox Preferences set to clear history before quitting, which makes it especially important for me to avoid quitting by accident. I don't seem to be able to access the config editor to fix this; anything i enter in the location bar autocompletes (even though I don't want it to) and takes me to the web. I've tried accessing the config editor through Thunderbird (which I also use) -- thinking that config editor might be shared with Firefox -- but (though there are numerous browser options) there is no "browser.show" option there.

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.9 r900
  • Displays Java applet content, or a placeholder if Java is not installed.
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.
  • Amazon MP3 Downloader Plugin 1.0.17
  • RealPlayer Plugin
  • The Flip4Mac WMV Plugin allows you to view Windows Media content using QuickTime.
  • iPhoto6
  • The Google Earth Plugin allows you to view 3D imagery and terrain in your web browser.

Application

  • Firefox 25.0.1
  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:25.0) Gecko/20100101 Firefox/25.0
  • Support URL: https://support.mozilla.org/1/firefox/25.0.1/Darwin/en-US/

Extensions

  • ChatZilla 0.9.90.1 ({59c81df5-4b7a-477b-912d-4e0fdf64e5f2})
  • Troubleshooter 1.1a (troubleshooter@mozilla.org)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription:
  • adapterDeviceID: 0x9488
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: 0x1002
  • driverDate:
  • driverVersion:
  • info: {u'AzureCanvasBackend': u'quartz', u'AzureFallbackCanvasBackend': u'none', u'AzureContentBackend': u'quartz', u'AzureSkiaAccelerated': 0}
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webglRenderer: ATI Technologies Inc. -- ATI Radeon HD 4670 OpenGL Engine
  • windowLayerManagerRemote: False
  • windowLayerManagerType: OpenGL

Modified Preferences

  • accessibility.typeaheadfind.flashBar: 0
  • browser.cache.disk.capacity: 1048576
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size_cached_value: 1048576
  • browser.history_expire_days.mirror: 180
  • browser.link.open_newwindow: 2
  • browser.places.importBookmarksHTML: False
  • browser.places.importDefaults: False
  • browser.places.leftPaneFolderId: -1
  • browser.places.migratePostDataAnnotations: False
  • browser.places.smartBookmarksVersion: 4
  • browser.places.updateRecentTagsUri: False
  • browser.sessionstore.upgradeBackup.latestBuildID: 20131112160018
  • browser.startup.homepage: http://www.google.com
  • browser.startup.homepage_override.buildID: 20131112160018
  • browser.startup.homepage_override.mstone: 25.0.1
  • browser.tabs.onTop: False
  • browser.urlbar.autocomplete.enabled: False
  • dom.mozApps.used: True
  • dom.w3c_touch_events.expose: False
  • extensions.lastAppVersion: 25.0.1
  • font.internaluseonly.changed: True
  • gfx.blacklist.direct2d: 3
  • gfx.blacklist.layers.direct3d9: 3
  • gfx.blacklist.webgl.msaa: 4
  • keyword.enabled: False
  • network.cookie.cookieBehavior: 1
  • network.cookie.prefsMigrated: True
  • places.database.lastMaintenance: 1385082861
  • places.history.expiration.transient_current_max_pages: 104858
  • places.history.expiration.transient_optimal_database_size: 167772160
  • places.last_vacuum: 1311428127
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • plugin.importedState: True
  • plugin.state.silverlight: 0
  • privacy.clearOnShutdown.cookies: False
  • privacy.clearOnShutdown.offlineApps: True
  • privacy.clearOnShutdown.passwords: True
  • privacy.clearOnShutdown.sessions: False
  • privacy.clearOnShutdown.siteSettings: True
  • privacy.cpd.cookies: False
  • privacy.cpd.offlineApps: True
  • privacy.cpd.siteSettings: True
  • privacy.donottrackheader.enabled: True
  • privacy.popups.showBrowserMessage: False
  • privacy.sanitize.migrateFx3Prefs: True
  • privacy.sanitize.sanitizeOnShutdown: True
  • privacy.sanitize.timeSpan: 0
  • security.disable_button.openCertManager: False
  • security.disable_button.openDeviceManager: False
  • security.OCSP.disable_button.managecrl: False
  • security.warn_viewing_mixed: False
  • storage.vacuum.last.index: 1
  • storage.vacuum.last.places.sqlite: 1384450908

Misc

  • User JS: No
  • Accessibility: No
XxDrAKoNxX 0 solutions 12 answers

Install Mozilla Firefox Beta for MAC, the version of Firefox Beta is a little more complete.

Mozilla Firefox Beta: http://www.mozilla.org/en-US/firefox/channel

¡good luck!

Install Mozilla Firefox Beta for MAC, the version of Firefox Beta is a little more complete. Mozilla Firefox Beta: http://www.mozilla.org/en-US/firefox/channel ¡good luck!
jscher2000
  • Top 10 Contributor
3123 solutions 28700 answers

Helpful Reply

Hi XxDrAKoNxX, unless you know this feature is included in the beta (future Firefox 26), I wouldn't recommend this.

Hi Mitchell--Oakland, are you quitting by using Quit (or the equivalent keyboard shortcut), or just closing all windows? I have read that on Mac, closing all the windows doesn't quit Firefox, but I don't have first-hand experience.

I can't think of a built-in way to warn you before quitting. Perhaps someone has created an add-on for that?? You could search on the Add-ons site? https://addons.mozilla.org/en-US/firefox/ See next reply

Hi XxDrAKoNxX, unless you know this feature is included in the beta (future Firefox 26), I wouldn't recommend this. Hi Mitchell--Oakland, are you quitting by using Quit (or the equivalent keyboard shortcut), or just closing all windows? I have read that on Mac, closing all the windows doesn't quit Firefox, but I don't have first-hand experience. <s>I can't think of a built-in way to warn you before quitting. Perhaps someone has created an add-on for that?? You could search on the Add-ons site? https://addons.mozilla.org/en-US/firefox/</s> ''See next reply''

Modified by jscher2000

jscher2000
  • Top 10 Contributor
3123 solutions 28700 answers

Actually, there is a preference named browser.showQuitWarning in about:config, but you need to open it in Firefox instead of Thunderbird.

In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

To filter the results, type or paste quit in the search box that appears above the list.

To switch the value from false to true, double-click the browser.showQuitWarning preference (it should turn bold and say user set to true).

Does it work?

Actually, there is a preference named '''browser.showQuitWarning''' in about:config, but you need to open it in Firefox instead of Thunderbird. In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful. To filter the results, type or paste '''quit''' in the search box that appears above the list. To switch the value from false to true, double-click the '''browser.showQuitWarning''' preference (it should turn bold and say user set to true). Does it work?

Modified by jscher2000

James
  • Top 25 Contributor
  • Moderator
640 solutions 4768 answers

You can also access about:config by way of about:about It has a colon and not a period.

I agree that you do not need to be testing the Beta versions of 26.0 as was suggested by XxDrAKoNxX.

You can also access about:config by way of '''about:about''' It has a colon and not a period. I agree that you do not need to be testing the Beta versions of 26.0 as was suggested by XxDrAKoNxX.

Modified by James

Helpful Reply

I changed the value to "true," but I still don't get the warning.

I changed the value to "true," but I still don't get the warning.
jscher2000
  • Top 10 Contributor
3123 solutions 28700 answers

I tested the preference in Windows and got the warning when I used File menu > Exit. Not sure how it should work on Mac.

I tested the preference in Windows and got the warning when I used File menu > Exit. Not sure how it should work on Mac.

Question owner

Nope, not on the Mac, whether I use the menu or the "command/Q" shortcut.

Nope, not on the Mac, whether I use the menu or the "command/Q" shortcut.

Question owner

Are there other "config" preferences to change as well in order for it to work?

Are there other "config" preferences to change as well in order for it to work?
jscher2000
  • Top 10 Contributor
3123 solutions 28700 answers

Could it be related to our startup preferences? I have Firefox set to start up to my home page. Do you have the same, or "windows and tabs from last time"?

Could it be related to our startup preferences? I have Firefox set to start up to my home page. Do you have the same, or "windows and tabs from last time"?

Question owner

Set to open with Google as home page. Remember, too, that I have Firefox set to clear my history before quitting (which nullifies the restore function): that's why the warning's important to me!

Set to open with Google as home page. Remember, too, that I have Firefox set to clear my history before quitting (which nullifies the restore function): that's why the warning's important to me!