<!DOCTYPE html>
<html>
<body>
<p>Click the button to open an about:blank page in a new browser window that is 200px wide and 100px tall.</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction() {
var myWindow = window.open("bigpage.html", "resizable=0,menubar=0,scrollbars=0,fullscreen=0,titlebar=0", "width=2000,height=1000");
}
</script>
</body>
</html>
答案 0 :(得分:0)
你做不到。禁用最小化和最大化可能是恶意的。