Code popup mở ra nhiều new tab khi click vào web
Trước tiên bạn phảo vào phẩn chỉnh sửa code của web site và blog cảu bạn và làm theo bước sau
Bước 1: Copy đoạn code dưới đây lên trên thẻ đóng </head>
Trước tiên bạn phảo vào phẩn chỉnh sửa code của web site và blog cảu bạn và làm theo bước sau
Bước 1: Copy đoạn code dưới đây lên trên thẻ đóng </head>
<script language='javascript'>
//<![CDATA[
var bittuot=0;
function ADS_GetCookie(Name){
var re=new RegExp(Name+"=[^;]+", "i");
if (document.cookie.match(re))
return decodeURIComponent(document.cookie.match(re)[0].split("=")[1]);
return ""
}
function ADS_SetCookie(name, value, days){
if (typeof days!="undefined"){
var expireDate = new Date()
var expstring=expireDate.setDate(expireDate.getDate()+days)
document.cookie = name+"="+decodeURIComponent(value)+"; expires="+expireDate.toGMTString()
}
else document.cookie = name+"="+decodeURIComponent(value);
}
function vtlai_popup()
{
var cookie_popup_ads = ADS_GetCookie('bittuot_popup_ads');
if (cookie_popup_ads=='') {
if(bittuot==0)
{
bittuot=1;
var Time_expires = 24 * 3600 * 1000;
ADS_SetCookie('bittuot_popup_ads','true',Time_expires);
var params = 'width=' + '600';
params += ', height=' + '500';
params += ',scrollbars=yes,status=1,toolbar=1,menubar=1,resizable=1,location=1,directories=1';
var vtlai_popup_0 = window.open('http://www.xeotodientreem.net/', 'vtlai_popup_0', params +', top=0,left=0');
var vtlai_popup_1 = window.open('http://www.xemaydientreem.org/', 'vtlai_popup_1', params +', top=0,left=0');
var vtlai_popup_2 = window.open('http://bongkidsshop.blogspot.com/', params +', top=0,left=0');
var vtlai_popup_3 = window.open('http://banbuon-gaubong.blogspot.com/', 'vtlai_popup_3', params +', top=0,left=0');
}
}
}
//]]>
</script>
Chý ý : Các bạn sửa lại link popup nhé
Bước 2: Tìn thẻ <body> rổi đổi nó thành <body onclick='vtlai_popup();'>
Chúc các bạn thành công !
Bước 2: Tìn thẻ <body> rổi đổi nó thành <body onclick='vtlai_popup();'>
Chúc các bạn thành công !
0 comments:
Post a Comment