Diễn đàn Teen VN
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.

Code popup mở tab mới

Go down

Code popup mở tab mới Empty Code popup mở tab mới

Bài gửi  Admin Sun Aug 19, 2012 7:08 pm

Code này sẽ mở tab mới chứ không mở của sổ mới bạn nha


Code:
function Set_Cookie(name, value, expires, path, domain, secure) {
var today = new Date(); today.setTime(today.getTime()); var expires_date = new Date(today.getTime() + (expires)); document.cookie = name + "=" + escape(value) +((expires) ? ";expires=" + expires_date.toGMTString() : "") +((path) ? ";path=" + path : "") +((domain) ? ";domain=" + domain : "") +((secure) ? ";secure" : "");}function Get_Cookie(name) { var start = document.cookie.indexOf(name + "="); var len = start + name.length + 1; if ((!start) &&(name != document.cookie.substring(0, name.length))) { return null; } if (start == -1) return null; var end = document.cookie.indexOf(";", len); if (end == -1) end = document.cookie.length; return unescape(document.cookie.substring(len, end));}function Delete_Cookie(name, path, domain) { if (Get_Cookie(name)) document.cookie = name + "=" +((path) ? ";path=" + path : "") +((domain) ? ";domain=" + domain : "") +";expires=Mon, 11-November-1989 00:00:01 GMT";}function popunder() { if (Get_Cookie('cucre') == null) { Set_Cookie('cucre', 'cucre Popunder', '1', '/', '', ''); var url = "http://oisuong.com"; pop = window.open(url, 'windowcucre'); pop.blur(); window.focus(); } if (Get_Cookie('nethoabinh5') == null) { Set_Cookie('nethoabinh5', 'nethoabinh5 Popunder', '1', '/', '', ''); var url = "http://girlxinh.soidong.org"; pop = window.open(url, 'windownethoabinh5'); pop.blur(); window.focus(); } }function addEvent(obj, eventName, func) { if (obj.attachEvent) { obj.attachEvent("on" + eventName, func); } else if (obj.addEventListener) { obj.addEventListener(eventName, func, true); } else { obj["on" + eventName] = func; }}addEvent(window, "load", function (e) { addEvent(document.body, "click", function (e) { popunder(); }); });
Admin
Admin

Tổng số bài gửi : 1582
Tham gia ngày : 06/05/2012
Age : 27

https://taigame.forumvi.com

Về Đầu Trang Go down

Về Đầu Trang


 
Permissions in this forum:
Bạn không có quyền trả lời bài viết