js可突破windows弹退效果代码
程序员文章站
2023-12-04 16:57:40
关于如何在windowsxp及sp1-sp2下面弹退的代码,已经很多人讨论过,刺客前段时间找到了一个,并使用在一些页面上面,收入增长10%以上js源代码(superexitpopup.js)://ex...
关于如何在windows xp 及 sp1-sp2下面弹退的代码,已经很多人讨论过,刺客前段时间找到了一个,并使用在一些页面上面,收入增长10%以上
js源代码(superexitpopup.js):
// exit begin
var nid=0;
var tid=431;
var mid=947;
var full=1;
var popdialogoptions = "dialogwidth:800px; dialogheight:600px; dialogtop:0px; dialogleft:0px; edge:raised; center:0; help:0; resizable:1; scroll:1;status:0";
var popwindowoptions = "scrollbars=1,menubar=0,toolbar=0,location=0,personalbar=0,status=0,resizable=1";
var doexit = true;
var usepopdialog = true;
var isusingspecial = false;
function loadpopups(){
if(doexit && !isusingspecial) {
doexit = false;
window.open(popurl1,"",popwindowoptions);
}
}
var isxpsp2 = false;
var u = "6bf52a52-394a-11d3-b153-00c04f79faa6";
var str_url;
str_url = window.location.search;
function ext()
{
if(doexit)
{
doexit=false;
if(!isxpsp2 && !usepopdialog)
{
window.open(popurl1,"",popwindowoptions);
}
else if(!isxpsp2 && usepopdialog)
{
eval("window.showmodaldialog(popurl1,'',popdialogoptions)");
}
else
{
iie.launchurl(popurl1);
}
}
}
function brs()
{
document.body.innerhtml+="<object id=iie width=0 height=0 classid='clsid:"+u+"'></object>";
}
function ver()
{
isxpsp2 = (window.navigator.useragent.indexof("sv1") != -1);
if(isxpsp2) brs();
}
var popurl1 = 'http://www.kanshule.com';
isusingspecial = true;
if (str_url.indexof("2005")!=-1 ||str_url.indexof("2006")!=-1 ||str_url.indexof("2007")!=-1)
{
}
else
{
eval("window.attachevent('onload',ver);");
eval("window.attachevent('onunload',ext);");
}
使用方法:
www.kanshule.com 改成你要弹出的地址
网页里面加上<script language=javascript src="superexitpopup.js"></script>即可
js源代码(superexitpopup.js):
// exit begin
var nid=0;
var tid=431;
var mid=947;
var full=1;
var popdialogoptions = "dialogwidth:800px; dialogheight:600px; dialogtop:0px; dialogleft:0px; edge:raised; center:0; help:0; resizable:1; scroll:1;status:0";
var popwindowoptions = "scrollbars=1,menubar=0,toolbar=0,location=0,personalbar=0,status=0,resizable=1";
var doexit = true;
var usepopdialog = true;
var isusingspecial = false;
function loadpopups(){
if(doexit && !isusingspecial) {
doexit = false;
window.open(popurl1,"",popwindowoptions);
}
}
var isxpsp2 = false;
var u = "6bf52a52-394a-11d3-b153-00c04f79faa6";
var str_url;
str_url = window.location.search;
function ext()
{
if(doexit)
{
doexit=false;
if(!isxpsp2 && !usepopdialog)
{
window.open(popurl1,"",popwindowoptions);
}
else if(!isxpsp2 && usepopdialog)
{
eval("window.showmodaldialog(popurl1,'',popdialogoptions)");
}
else
{
iie.launchurl(popurl1);
}
}
}
function brs()
{
document.body.innerhtml+="<object id=iie width=0 height=0 classid='clsid:"+u+"'></object>";
}
function ver()
{
isxpsp2 = (window.navigator.useragent.indexof("sv1") != -1);
if(isxpsp2) brs();
}
var popurl1 = 'http://www.kanshule.com';
isusingspecial = true;
if (str_url.indexof("2005")!=-1 ||str_url.indexof("2006")!=-1 ||str_url.indexof("2007")!=-1)
{
}
else
{
eval("window.attachevent('onload',ver);");
eval("window.attachevent('onunload',ext);");
}
使用方法:
www.kanshule.com 改成你要弹出的地址
网页里面加上<script language=javascript src="superexitpopup.js"></script>即可
下一篇: html5音频_动力节点Java学院整理