欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

js 強(qiáng)制彈出窗口代碼研究-又一款代碼

 更新時(shí)間:2010年03月20日 19:40:38   作者:  
我在 IE8 中測(cè)試起作用,但在 Firefox 3.5 中被攔截。

復(fù)制代碼 代碼如下:

<script language="JavaScript">
var paypopupURL = "http://www.dbjr.com.cn";
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>

相關(guān)文章

最新評(píng)論