Firefox:在网页强制全屏模式 [英] Firefox : Force full-screen mode from webpage
问题描述
我开发一个需要(因为有些CSS3元素),并通过Firefox Web浏览器中打开一个基于网络的数据库。我希望页面在全屏模式下自动打开。我不想数据库的用户可以访问Firefox菜单项
I am developing a web-based database that needs to be opened through firefox web browser(because of some css3 elements). I want the page to open automatically in full screen mode. I dont want the user of the database to have access to the firefox menu items
推荐答案
不能完成如果你只是有网页的控制权。在网页中的控制不能引起在浏览器实例本身的变化。
Can't be done if you just have control of the webpage. Controls in the webpage cannot cause changes in the browser instance itself.
这将是一个安全问题如果被允许。你可以考虑写一个Firefox扩展,要做到这一点,因为他们的更多访问以浏览器实例本身。
It would be a security issue if that were allowed. You could look into writing a Firefox extension to do that, as they have more access to the browser instance itself.
您不应该看试图隐藏Firefox菜单控制。这似乎是在你的解决问题的方法存在缺陷。
You shouldn't look at trying to hide the firefox menu controls. That seems like a flaw in your problem-solving approach.
这篇关于Firefox:在网页强制全屏模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!