这都不会,下载下来,然后查看源文件,js文件已经给你下了,js/popup_tipsltr.js代码如下:
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false; document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}function DeleteCookie (name) {
var exp = new Date();
exp.setTime (exp.getTime() - 1);
var cval = GetCookie (name); document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}function getCookieVal(offset) {
var endstr = document.cookie.indexOf (";", offset); if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}function checkCount2() {
var expDays = 1; // number of days the cookie should last var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
var count = GetCookie('selfstudy'); if (count == 1) {
checkCount3();
} if (count == null) {
count=1;
SetCookie('selfstudy', count, exp) if(! GetCookie('IMCCUSTOMER')) {
var ref_cookie = GetCookie( 'REF' );
if ( ref_cookie == null ) {
ref_cookie = 86;
}
OpenWindow=window.open("", "newwin","location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,width=490,height=390");
OpenWindow.document.write("<HTML><HEAD><TITLE> Internet Marketing Center® </TITLE></HEAD><BODY bgcolor='#FFFFFF' text='#000000' alink='#0000FF' vlink='#0000FF' link='#0000FF' background='http://www.etingtips.com/images/popup5back.jpg'><CENTER><FORM method='post' action='http://www.etingtips.com/cgi-bin/news_subscribe.cgi'><TABLE border='0' width='410' cellpadding='0' cellspacing='0'><TR><TD colspan='2' align='center'><IMG src='http://www.etingtips.com/images/nothing.gif' height='60' width='75'></TD></TR><TR><TD colspan='2'><FONT face='arial'><CENTER><TABLE width='95%' border='1' bordercolor='#0066FF' cellpadding='3' cellspacing='0'><TR><TD><DIV align='center'><FONT face='arial'><FONT size='3'><B>FREE 7 DAY INTERNET MARKETING COURSE</B></FONT></FONT></DIV></TD></TR></TABLE><B><BR></B></CENTER></FONT><P><FONT face='arial' size='-1'>Explode your website's sales and profits. Get your<B> FREE</B> 7 day Internet Marketing Course via e-mail, no tricks or strings attached.. <B>Learn tips, tricks and tools for promoting your business on the Internet</B>. You will receive one lesson every day for the next 7 days - Join now!</FONT></TD></TR><TR><TD valign='top' align='center'><BR><TABLE border='0' width='240' cellpadding='2' cellspacing='0'><TR><TD valign='center' align='right' width='127'><DIV align='left'><FONT face='arial' size='-1'>Your First Name:</FONT></DIV></TD><TD width='83'><INPUT type='text' name='cust_fname' size='16'></TD></TR><TR><TD valign='center' align='right' width='127'><DIV align='left'><FONT face='arial' size='-1'>Your Last Name:</FONT></DIV></TD><TD width='83'><INPUT type='text' name='cust_lname' size='16'></TD></TR><TR><TD valign='center' align='right' width='127'><DIV align='left'><FONT face='arial' size='-1'>Your Email Address:</FONT></DIV></TD><TD width='83'><INPUT type='text' name='email' size='16'></TD></TR></TABLE></TR><TR><TD></TD></TR><TR><TD><BR><DIV align='center'><INPUT type='hidden' name='REF' value='" + ref_cookie + "'><INPUT type='hidden' name='item' value='7daycourse_popup'><INPUT type='hidden' name='thankyou_url' value='http://www.etingtips.com/popup/selfstudy_thankyou.html'><INPUT type='submit' name='Submit' value='SEND ME the FREE COURSE'></DIV></TD></TR></TABLE></FORM></CENTER></BODY></HTML>");
}
else checkCount3();
}
else {
count++;
SetCookie('selfstudy', count, exp);
}
}function checkCount3() {
var expDays = 1; // number of days the cookie should last
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
var count = GetCookie('usv');
if (count == null) {
count=1;
SetCookie('usv', count, exp);
{window.open("http://www.etingtips.com/popup/usv-popup.html","usv","menubar=no,resizable=no,scrollbars=yes,status=no,toolbar=no,width=500,height=450");}
}
else {
count++;
SetCookie('usv', count, exp);
}
}
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false; document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}function DeleteCookie (name) {
var exp = new Date();
exp.setTime (exp.getTime() - 1);
var cval = GetCookie (name); document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}function getCookieVal(offset) {
var endstr = document.cookie.indexOf (";", offset); if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}function checkCount2() {
var expDays = 1; // number of days the cookie should last var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
var count = GetCookie('selfstudy'); if (count == 1) {
checkCount3();
} if (count == null) {
count=1;
SetCookie('selfstudy', count, exp) if(! GetCookie('IMCCUSTOMER')) {
var ref_cookie = GetCookie( 'REF' );
if ( ref_cookie == null ) {
ref_cookie = 86;
}
OpenWindow=window.open("", "newwin","location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,width=490,height=390");
OpenWindow.document.write("<HTML><HEAD><TITLE> Internet Marketing Center® </TITLE></HEAD><BODY bgcolor='#FFFFFF' text='#000000' alink='#0000FF' vlink='#0000FF' link='#0000FF' background='http://www.etingtips.com/images/popup5back.jpg'><CENTER><FORM method='post' action='http://www.etingtips.com/cgi-bin/news_subscribe.cgi'><TABLE border='0' width='410' cellpadding='0' cellspacing='0'><TR><TD colspan='2' align='center'><IMG src='http://www.etingtips.com/images/nothing.gif' height='60' width='75'></TD></TR><TR><TD colspan='2'><FONT face='arial'><CENTER><TABLE width='95%' border='1' bordercolor='#0066FF' cellpadding='3' cellspacing='0'><TR><TD><DIV align='center'><FONT face='arial'><FONT size='3'><B>FREE 7 DAY INTERNET MARKETING COURSE</B></FONT></FONT></DIV></TD></TR></TABLE><B><BR></B></CENTER></FONT><P><FONT face='arial' size='-1'>Explode your website's sales and profits. Get your<B> FREE</B> 7 day Internet Marketing Course via e-mail, no tricks or strings attached.. <B>Learn tips, tricks and tools for promoting your business on the Internet</B>. You will receive one lesson every day for the next 7 days - Join now!</FONT></TD></TR><TR><TD valign='top' align='center'><BR><TABLE border='0' width='240' cellpadding='2' cellspacing='0'><TR><TD valign='center' align='right' width='127'><DIV align='left'><FONT face='arial' size='-1'>Your First Name:</FONT></DIV></TD><TD width='83'><INPUT type='text' name='cust_fname' size='16'></TD></TR><TR><TD valign='center' align='right' width='127'><DIV align='left'><FONT face='arial' size='-1'>Your Last Name:</FONT></DIV></TD><TD width='83'><INPUT type='text' name='cust_lname' size='16'></TD></TR><TR><TD valign='center' align='right' width='127'><DIV align='left'><FONT face='arial' size='-1'>Your Email Address:</FONT></DIV></TD><TD width='83'><INPUT type='text' name='email' size='16'></TD></TR></TABLE></TR><TR><TD></TD></TR><TR><TD><BR><DIV align='center'><INPUT type='hidden' name='REF' value='" + ref_cookie + "'><INPUT type='hidden' name='item' value='7daycourse_popup'><INPUT type='hidden' name='thankyou_url' value='http://www.etingtips.com/popup/selfstudy_thankyou.html'><INPUT type='submit' name='Submit' value='SEND ME the FREE COURSE'></DIV></TD></TR></TABLE></FORM></CENTER></BODY></HTML>");
}
else checkCount3();
}
else {
count++;
SetCookie('selfstudy', count, exp);
}
}function checkCount3() {
var expDays = 1; // number of days the cookie should last
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
var count = GetCookie('usv');
if (count == null) {
count=1;
SetCookie('usv', count, exp);
{window.open("http://www.etingtips.com/popup/usv-popup.html","usv","menubar=no,resizable=no,scrollbars=yes,status=no,toolbar=no,width=500,height=450");}
}
else {
count++;
SetCookie('usv', count, exp);
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货