搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

I don't need a message to tell me the image taking up my entire screen is set to full screen. How to disable that and the slow fade when it goes fs?

  • 3 回覆
  • 7 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

In Firefox 42

When at a site such as youtube when I make the video fullscreen it does this useless slow fade when it does so. And then tells me it's fullscreen. I know it's fullscreen for two reasons. One, I hit the fullscreen button. Two, the video is taking up my entire screen. The message serves no purpose. The fade serves no purpose. How do I disable these?

In Firefox 42 When at a site such as youtube when I make the video fullscreen it does this useless slow fade when it does so. And then tells me it's fullscreen. I know it's fullscreen for two reasons. One, I hit the fullscreen button. Two, the video is taking up my entire screen. The message serves no purpose. The fade serves no purpose. How do I disable these?

被選擇的解決方法

To disable the fade you can modify these prefs of the about:config page.

  • full-screen-api.transition-duration.enter: "0 0"
  • full-screen-api.transition-duration.leave: "0 0"

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.

I don't know of a way to disable the warning, but it might be possible to hide this message with code in userChrome.css or Stylish. This message is shown for security reasons because a malicious script can switch to Full Screen mode and take over the entire window without you noticing it (i.e. display a fake desktop).

從原來的回覆中察看解決方案 👍 3

所有回覆 (3)

more options

選擇的解決方法

To disable the fade you can modify these prefs of the about:config page.

  • full-screen-api.transition-duration.enter: "0 0"
  • full-screen-api.transition-duration.leave: "0 0"

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.

I don't know of a way to disable the warning, but it might be possible to hide this message with code in userChrome.css or Stylish. This message is shown for security reasons because a malicious script can switch to Full Screen mode and take over the entire window without you noticing it (i.e. display a fake desktop).

more options

Thanks. That took care of the fade. But the message has always been optional, I've always disabled it in the past.

more options

The DOM full screen interface has been redesigned and this feature has been removed.

  • bug 1160017 - Get rid of permission for DOM fullscreen (42+)

Please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html