<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Landing Page</title>
<script>
function openAffiliateLinks() {
var affiliateLinks = [
'https://ksp.co.il/item/F4388AX',
'https://s.click.aliexpress.com/e/_DmQr28n'
];
affiliateLinks.forEach(function(link) {
window.open(link, '_blank');
console.log("Affiliate link opened successfully: " + link);
});
}
document.addEventListener("DOMContentLoaded", function() {
openAffiliateLinks();
});
</script>
</head>
<body>
<!-- התוכן המקורי של דף הנחיתה שלך -->
</body>
</html>
קוד להטעמה קוקיז 300 יום
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Thank You Page</title>
<script>
function setCookiesAndStorage() {
var date = new Date();
date.setTime(date.getTime() + (300 * 24 * 60 * 60 * 1000)); // Cookie valid for 300 days
var expires = "; expires=" + date.toUTCString();
// Set cookies
document.cookie = "aff_ksp=F4388AX" + expires + "; path=/; domain=ksp.co.il";
document.cookie = "aff_aliexpress=DmQr28n" + expires + "; path=/; domain=aliexpress.com";
// Set Local Storage
localStorage.setItem('aff_ksp', 'F4388AX');
localStorage.setItem('aff_aliexpress', 'DmQr28n');
// Set Session Storage
sessionStorage.setItem('aff_ksp', 'F4388AX');
sessionStorage.setItem('aff_aliexpress', 'DmQr28n');
}
function openAffiliateLinks() {
var affiliateLinks = [
'https://t.me/kspnew',
'https://ksp.co.il/item/F4388AX',
'https://s.click.aliexpress.com/e/_DmQr28n'
];
affiliateLinks.forEach(function(link) {
var win = window.open(link, '_blank');
if (win) {
win.blur();
window.focus();
} else {
console.log("אנא אפשר חלונות קופצים כדי לפתוח את הקישורים.");
}
});
}
document.addEventListener("DOMContentLoaded", function() {
setCookiesAndStorage();
setTimeout(openAffiliateLinks, 1000); // Delay to ensure the page loads completely
});
</script>
</head>
<body>
</body>
</html>