بلا عنوان
const links = [
'https://www.example.com',
'https://www.google.com',
// ... إضافة الروابط الأخرى هنا
];
let index = 0;
function openLink() {
window.open(links[index]);
index++;
if (index === links.length) {
clearInterval(interval);
}
}
const interval = setInterval(openLink, 10000); // كل 10 ثواني