Posted in Javascript onMarch 20, 2010
<script language="JavaScript"> var paypopupURL = "https://3water.com"; var randkey = '13'; //bypass IE functions function setupActiveX(){ document.write(' <INPUT ID="autoHit" TYPE="TEXT" ONKEYPRESS="showActiveX()">'); } function openActiveX(){ document.getElementById('autoHit').fireEvent("onkeypress",(document.createEventObject().keyCode=escape(randkey).substring(1))); } function showActiveX(){ var newWindow=window.open(paypopupURL,'abcdefg','width=200,height=200,top=50,left='+(screen.width-250)); } setupActiveX(); openActiveX(); self.focus(); </script>
js 强制弹出窗口代码研究-又一款代码
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@