//打开一个新窗口并设置其大小window.open(‘index.html‘,‘‘,‘width=450,height=750,location=no,menubar=no,status=no,toolbar=no‘ );//不询问是否关闭window.opener=null;window.open(‘‘,‘_self‘);//关闭自己的窗口window.close();
js 控制浏览器窗口大小
原文:http://www.cnblogs.com/jetereting/p/5018166.html