watch
<meta name="robots" content="noindex, follow">
<style>
h1.page-title {
display: none;
}
.content_entry {
background-color: #191d2d00;
}
/* نفس CSS الأصلي */
span.hed-btn.op, span.hed-btn { display: none; }
.video-container {
position: relative;
width: 100%;
padding-bottom: 60.25%;
background: #000 url('https://up6.cc/2026/01/176932038670521.png') center/cover no-repeat;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
border: 2px solid #20253b;
margin-bottom: 25px;
}
.play-button {
position: absolute;
top: 55%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
align-items: center;
color: #d0d3e1;
font-weight: 600;
font-size: 12px;
cursor: pointer;
width: 90%;
max-width: 300px;
user-select: none;
z-index: 10;
font-family: inherit;
font-size: 14px;
white-space: normal;
}
.play-icon {
width: 70px;
height: 70px;
padding: 15px;
background: rgba(255, 255, 255, 0.85);
border-radius: 10px;
color: #3c7c25;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
margin-bottom: 8px;
transition: all 0.3s ease;
}
.play-button:hover .play-icon {
background: #3c7c25;
color: white;
transform: scale(1.1);
}
.warning-box {
display: flex;
align-items: center;
justify-content: center;
background-color: #211f1c;
border: 1px solid #c78d0f;
border-radius: 5px;
padding: 10px 20px;
max-width: 800px;
margin: 0 auto;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
color: #ffb103;
font-size: 15px;
line-height: 1.5;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
font-family: inherit;
}
.warning-text::before {
content: "تنويه! سيفتح رابط المباراة في نافذة جديدة بعد اعلان واحد.";
display: block;
margin-bottom: 5px;
}
.warning-text.token-expired::before {
content: ""; /* إزالة النص عند انتهاء التوكن */
}
.warning-icon {
width: 24px;
height: 24px;
background-image: url(https://www.kora999-live.com/wp-content/themes/SportzTheme/img/warning.png);
background-size: contain;
fill: #c78d0f;
margin-left: 15px;
flex-shrink: 0;
animation: flash 1s ease-in-out infinite;
}
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0.3; } }
</style>
<div class="video-container" aria-label="رابط مشاهدة المباراة">
<a id="match-link" href="#" class="play-button" aria-label="شاهد الآن">
<svg class="play-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="currentColor">
<path d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"/>
</svg>
<span>انقر هنا للإنتقال لصفحة المشاهدة</span>
<span>Click here to go to the Live page.</span>
</a>
</div>
<div class="warning-box">
<div class="warning-icon"></div>
<div class="warning-text" id="warning-text"></div>
</div>
<script>
document.addEventListener("DOMContentLoaded", async function () {
const params = new URLSearchParams(window.location.search);
const token = params.get("token");
const matchLink = document.getElementById("match-link");
const warningText = document.getElementById("warning-text");
// --- إعدادات الروابط ---
const adsterraUrl = "https://summonteacherjunction.com/qsy9e2m6?key=74dae6939486586e6d5b5945570e39ef";
let finalUrl = null;
// دالة تنظيف الدومين
function normalize(url) {
try {
return new URL(url).hostname.replace("www.", "").trim();
} catch {
return "";
}
}
function deny(msg) {
matchLink.style.display = "none";
warningText.classList.add("token-expired");
warningText.innerHTML = msg;
}
// 1. فحص المحاكيات والبوتات الثقيلة
const hardBlocked =
navigator.webdriver ||
window.chrome?.runtime?.id ||
/headless/i.test(navigator.userAgent) ||
/puppeteer|playwright|phantom|selenium/i.test(navigator.userAgent);
if (hardBlocked) return deny("🚫 تم كشف محاكي متصفح أو أداة تشغيل تلقائي.");
// 2. جلب الدومينات المسموحة والتحقق من الدومين الحالي
async function checkDomain() {
try {
const res = await fetch("https://abuahmed.icu/ma/get_domains.php");
if (!res.ok) throw new Error();
const allowed = await res.json();
const currentDomain = normalize(window.location.href);
return allowed.some(d => normalize(d.domain) === currentDomain && d.active === true);
} catch {
return false;
}
}
const isDomainOk = await checkDomain();
if (!isDomainOk) {
document.body.innerHTML = "<h2 style='text-align:center;margin-top:50px;'>⛔ هذا الدومين غير مفعل.</h2>";
return;
}
// 3. فلترة البوتات المتقدمة
const bots = [
/ahrefsbot/i, /mj12bot/i, /semrushbot/i, /scrapy/i, /wget/i, /curl/i,
/dmca/i, /legal/i, /headless/i, /selenium/i, /phantomjs/i, /puppeteer/i, /playwright/i,
/python-requests/i, /node\.js/i, /yandex/i, /baiduspider/i, /facebot/i, /facebookexternalhit/i,
/livelap/i, /asosiasi video streaming/i, /beinsports/i, /streamgrabber/i, /copyscape/i,
/beinmediagroup/i, /legalteam/i, /contentprotection/i
];
const ua = navigator.userAgent || "";
if (!/googlebot|bingbot|yandexbot/i.test(ua)) {
if (bots.some(r => r.test(ua))) return deny("🚫 تم كشف بوت، لا يمكنك المتابعة.");
}
// 4. التحقق من التوكن وجلب معرف المباراة
async function verifyToken() {
if (!token) return false;
try {
const res = await fetch(`https://api2.abuahmed.icu/token/verify?token=${encodeURIComponent(token)}`);
const data = await res.json();
return data.valid && data.matchId ? data.matchId : false;
} catch (err) {
return false;
}
}
const matchId = await verifyToken();
if (!matchId) return deny("⛔ الوصول المباشر غير مسموح.<br>يُرجى الدخول من صفحة الجدول.");
// تجهيز رابط المباراة النهائي
finalUrl = `/match?id=${encodeURIComponent(matchId)}`;
// 5. حدث النقر (فتح الإعلان + تحويل للمباراة)
matchLink.addEventListener("click", function (e) {
e.preventDefault();
if (finalUrl) {
// فتح رابط Adsterra في نافذة جديدة
window.open(adsterraUrl, '_blank');
// التوجه للمباراة في نفس النافذة بعد 200 مللي ثانية لضمان عمل الرابط الأول
setTimeout(() => {
window.location.href = finalUrl;
}, 200);
}
});
});
</script>