Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to disable fullscreen alert completely, not just the timeout?

  • 9
  • 2
  • 2 views
  • Nzaghachi ikpeazụ nke guigs

more options

I changed "full-screen-api.warning.timeout" to "0" in "about:config". It disabled the message but I have another monitor above my main monitor and when I move my mouse from the fullscreen video to the other monitor the fullscreen alert pops up again. It's really annyoing because it stays there forever unless I put my mouse on the video. Could you add a setting to completely disable this alert?

I changed "full-screen-api.warning.timeout" to "0" in "about:config". It disabled the message but I have another monitor above my main monitor and when I move my mouse from the fullscreen video to the other monitor the fullscreen alert pops up again. It's really annyoing because it stays there forever unless I put my mouse on the video. Could you add a setting to completely disable this alert?

Asịsa ahọpụtara

@Happy112 So the Addon doesn't work. It does exactly the same what I have done to the settings of Firefox.

@jscher2000 I tried doing everthing you did but instead of seeing this short blip you were talking about, the fullscreen alert comes up. Also, I tried using the code you gave me with the extension Stylish (I had already installed) but it didn't work either (I probably made mistakes though as I don't really know how to use it :D )


BUT I found a solution to my problem:

I just had to set "full-screen-api.warning.delay" to any negative integer like -1 instead of 0. This did the trick.


Anyways, thanks to everyone who tried to help me!

Gụọ azịza a na nghọta 👍 0

All Replies (9)

more options

Pi77Bull said

I changed "full-screen-api.warning.timeout" to "0" in "about:config".

Hi   ! Have you also set the value of  'full-screen-api.approval-required'  
to   'false'   ?

Edeziri site na Happy112

more options

I didn't even had this setting. I added it and set it to false but it didn't change anything.

more options

Bummer   !
Would you consider this add-on;   see if that'll do the trick:
https://addons.mozilla.org/en-US/firefox/addon/disable-html5-fullscreen-alert/

more options

That's an interesting problem, when the cursor is not moving back onto the content but is perceived as continuing to be at the top of the screen.

First, to allow the warning to animate off the screen, try this combination of timings:

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

(2) In the search box above the list, type or paste full-s and pause while the list is filtered

(3) Double-click the full-screen-api.warning.delay preference and enter 0 (that's a zero)

(4) Double-click the full-screen-api.warning.timeout preference and enter 50 (you can play with this as needed)

What I see when I hover at the top is a blip of the bottom of the warning before it slides back up out of sight. How about you?

Second, to make the warning invisible regardless of how it animates on/off the screen, you could use a custom style rule such as the following:

div#fullscreen-warning[class="pointerlockfswarning"]{
  opacity: 0 !important;
}

Note: Opacity determines how transparent an element is, but the actual value is the opposite. 0 opacity is completely transparent, while 1.0 opacity is "100%" solid. 0.5 opacity is faded halfway. Using a value like 0.2 provides a subtle message.

You can apply custom style rules to Firefox's user interface using either the Stylish extension or a userChrome.css file. But I'll spare you the details because I think the short blip probably will be tolerable to you.

more options

Asịsa Ahọpụtara

@Happy112 So the Addon doesn't work. It does exactly the same what I have done to the settings of Firefox.

@jscher2000 I tried doing everthing you did but instead of seeing this short blip you were talking about, the fullscreen alert comes up. Also, I tried using the code you gave me with the extension Stylish (I had already installed) but it didn't work either (I probably made mistakes though as I don't really know how to use it :D )


BUT I found a solution to my problem:

I just had to set "full-screen-api.warning.delay" to any negative integer like -1 instead of 0. This did the trick.


Anyways, thanks to everyone who tried to help me!

more options

Hi Pi77Bull, on this one point --

Also, I tried using the code you gave me with the extension Stylish (I had already installed) but it didn't work either

-- the trick is to create a new blank style and paste in just the rule, without any namespace.

more options

Pi77Bull said

I just had to set "full-screen-api.warning.delay" to any negative integer like -1 instead of 0. This did the trick.

This seems to work for me while Firefox remains open, but the pref resets to 0 next time I start the browser. This would be great if I could get this to stick indefinitely.

more options

Hi PAGulley, I haven't tested that myself. The following article describes some ways to investigate causes for losing settings between sessions:

How to fix preferences that won't save

more options

I know this is an old issue, outta site, outta mind, but would it be possible to also check if you change security.sandbox.content.level = 0