js開啟新視窗
by cactus77kiki
HTML
<a href="#" onclick="window.open(' http://tw.yahoo.com ', 'Yahoo', config='height=500,width=800,left=500,top=400,location=0');">開新視窗</a>
JavaScript
/*
js開啟視窗
ref:https://www.wibibi.com/info.php?tid=95
如何刪除網址列(=>無法移除,僅能讓user不可異動)
ref:https://stackoverflow.com/questions/13841839/disable-location-bar-in-google-chrome
*/