SOURCE

console 命令行工具 X clear

                    
>
console
function open_win()
{
window.open("http://jsrun.net","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=400, height=400")
}
<form> 
  <input type="button" value="打开窗口" onclick="open_win()"> 
 </form>