Javascript打开新窗口地址栏仍然显示
我遇到一个问题,我单击链接并以全屏模式打开一个新窗口,但地址栏仍然显示我不希望的内容。这是我的代码:
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=1, toolbar=0, location=no');
}
最新的 FF 和 IE8 中存在同样的问题...
Im having a problem where I click a link and it opens a new window in fullscreen mode, but the address bar is still showing which I don't want it to. Here is the code I have:
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=1, toolbar=0, location=no');
}
Same problem in latest FF and IE8...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
出于安全原因,在现代浏览器中不再可能执行此操作(人们试图欺骗用户认为网页不是网页)。
It is no longer possible to do this in modern browsers for security reasons (people trying to trick users into thinking a web page is something its not).