强制屏幕调整大小而不使用window.open?

时间:2015-12-29 17:22:33

标签: javascript

有没有办法在没有windows.open的情况下使用下面代码中的规范?

window.open("http://google.com.br", "_blank",
            "fullscreen=yes,location=no,menubar=no," +
            "resizable=no,scrollbars=no,toolbar=no,left=1," +
            "top=1,screenX=1,screenY=1,width=" + window.screen.width + ",height=" + window.screen.height);
});

我想将它用于我的实际页面:

"fullscreen=yes,location=no,menubar=no," +
"resizable=no,scrollbars=no,toolbar=no,left=1," +
"top=1,screenX=1,screenY=1,width=" + 
window.screen.width + ",height=" + window.screen.height

0 个答案:

没有答案