搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

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

  • 9 个回答
  • 2 人有此问题
  • 182 次查看
  • 最后回复者为 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?

被采纳的解决方案

@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!

定位到答案原位置 👍 0

所有回复 (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'   ?

由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

选择的解决方案

@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