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?
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)
选择的解决方案
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).
Thanks. That took care of the fade. But the message has always been optional, I've always disabled it in the past.
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