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

Support Forum

How to disable fullscreen permission and window.onbeforeunload popup permamently?

Posted

I never want to see the fullscreen permission dialog or the "are you sure you want to leave this page" dialog popups. They are only annoying.

I never want to see the fullscreen permission dialog or the "are you sure you want to leave this page" dialog popups. They are only annoying.

Chosen solution

You can set the dom.disable_beforeunload pref to true on the about:config page to disable this alert.

  • dom.disable_beforeunload = true

The only choices for full screen permissions are "Always Ask" and "Block". You can manage the full screen permission via "Tools > Page Info > Permissions" or via the about:permissions page.

You can toggle this pref that is aimed at developers to false if you want to suppress this dialog.

  • full-screen-api.approval-required = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

Read this answer in context 10

Additional System Details

Installed Plug-ins

  • Version 5.38.6.0
  • 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.
  • Shockwave Flash 16.0 r0
  • Unity Web Player version 4.6.0f2. (c) 2014 Unity Technologies ApS. All rights reserved.

Application

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:35.0) Gecko/20100101 Firefox/35.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
15220 solutions 138051 answers

Chosen Solution

You can set the dom.disable_beforeunload pref to true on the about:config page to disable this alert.

  • dom.disable_beforeunload = true

The only choices for full screen permissions are "Always Ask" and "Block". You can manage the full screen permission via "Tools > Page Info > Permissions" or via the about:permissions page.

You can toggle this pref that is aimed at developers to false if you want to suppress this dialog.

  • full-screen-api.approval-required = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

You can set the <b>dom.disable_beforeunload</b> pref to true on the <b>about:config</b> page to disable this alert. *dom.disable_beforeunload = true ----- The only choices for full screen permissions are "Always Ask" and "Block". You can manage the full screen permission via "Tools > Page Info > Permissions" or via the about:permissions page. You can toggle this pref that is aimed at developers to false if you want to suppress this dialog. *full-screen-api.approval-required = false You can open the <b>about:config</b> page via the location/address bar. You can accept the warning and click "I'll be careful" to continue. *http://kb.mozillazine.org/about:config

Helpful Reply

cor-el said

You can set the dom.disable_beforeunload pref to true on the about:config page to disable this alert.
  • dom.disable_beforeunload = true

The only choices for full screen permissions are "Always Ask" and "Block". You can manage the full screen permission via "Tools > Page Info > Permissions" or via the about:permissions page.

You can toggle this pref that is aimed at developers to false if you want to suppress this dialog.

  • full-screen-api.approval-required = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

THANK. YOU. SO. MUCH.

''cor-el [[#answer-682643|said]]'' <blockquote> You can set the <b>dom.disable_beforeunload</b> pref to true on the <b>about:config</b> page to disable this alert. *dom.disable_beforeunload = true ----- The only choices for full screen permissions are "Always Ask" and "Block". You can manage the full screen permission via "Tools > Page Info > Permissions" or via the about:permissions page. You can toggle this pref that is aimed at developers to false if you want to suppress this dialog. *full-screen-api.approval-required = false You can open the <b>about:config</b> page via the location/address bar. You can accept the warning and click "I'll be careful" to continue. *http://kb.mozillazine.org/about:config </blockquote> THANK. YOU. SO. MUCH.