HomeContact
Computerz
Allow javascript to close a firefox window
René Dohmen
February 28, 2010
1 min

Just as a quick reminder for myself; firefox diasallows closing the window with javascript, sometimes, e.g. on a kiosk comp, it’s very handy to have the browser closed by javascript.

  1. Type about:config in the address bar and press Enter.
  2. Find the setting dom.allow_scripts_to_close_windows.
  3. Double-click on the setting to set it to true to enable scripts to close the browser window via close(). Set it to false to prevent scripts from closing windows via close().

Note: This setting is available in Firefox 3 and Firefox 2.


Related Posts

Working with git submodules
October 15, 2023
3 min
© 2024, All Rights Reserved.
Powered by formatics

Quick Links

Advertise with usAbout UsContact Us

Social Media