أكادير24 | Agadir24
علمت أكادير24 من مصادرها المطلعة، بأنه تم فرض الحجر الصحي على مصحة المسيرة بأكادير بسبب فيروس كورونا المستجد.
(function () {
console.clear();console.log("%cAG24 AdSense / Ad Inserter Diagnostic", "font-size:16px;font-weight:bold;color:#0b6bcb");const scripts = [...document.scripts].filter(s =>
(s.src && s.src.includes("pagead2.googlesyndication.com/pagead/js/adsbygoogle.js")) ||
(s.src && s.src.includes("adsbygoogle.js"))
);console.log("1) AdSense script found:", scripts.length > 0 ? "YES ✅" : "NO ❌");
scripts.forEach((s, i) => console.log(` Script ${i + 1}:`, s.src));const ads = [...document.querySelectorAll("ins.adsbygoogle")];console.log("2) AdSense ad units found:", ads.length);if (!ads.length) {
console.warn("لم يتم العثور على أي وحدة إعلان ins.adsbygoogle داخل الصفحة. هذا يعني غالباً أن Ad Inserter لم يحقن الإعلان، أو أن الإعلان محذوف/مؤجل/محجوب.");
return;
}ads.forEach((ad, index) => {
const rect = ad.getBoundingClientRect();
const style = window.getComputedStyle(ad);
const parent = ad.parentElement;
const parentRect = parent ? parent.getBoundingClientRect() : null;const dataAdClient = ad.getAttribute("data-ad-client");
const dataAdSlot = ad.getAttribute("data-ad-slot");
const adStatus = ad.getAttribute("data-ad-status");
const adFormat = ad.getAttribute("data-ad-format");
const fullWidth = ad.getAttribute("data-full-width-responsive");const result = {
unit: index + 1,
client: dataAdClient || "غير موجود",
slot: dataAdSlot || "غير موجود",
status: adStatus || "غير محدد بعد",
format: adFormat || "غير محدد",
fullWidthResponsive: fullWidth || "غير محدد",
display: style.display,
visibility: style.visibility,
width: Math.round(rect.width),
height: Math.round(rect.height),
parentWidth: parentRect ? Math.round(parentRect.width) : "لا يوجد",
parentHeight: parentRect ? Math.round(parentRect.height) : "لا يوجد"
};console.group(`Ad Unit #${index + 1}`);
console.table(result);if (rect.width === 0) {
console.error("❌ المشكلة: عرض الإعلان = 0. هذا يفسر خطأ: No slot size for availableWidth=0");
} else if (rect.height === 0) {
console.warn("⚠️ المكان له عرض لكن الارتفاع = 0. قد يكون الإعلان لم يُملأ أو CSS يمنع ظهوره.");
} else {
console.log("✅ المكان محجوز فعلاً داخل الصفحة وله أبعاد ظاهرة.");
}if (adStatus === "filled") {
console.log("✅ AdSense يعتبر هذه الوحدة مملوءة: data-ad-status='filled'");
} else if (adStatus === "unfilled") {
console.warn("⚠️ AdSense يعتبر هذه الوحدة غير مملوءة: data-ad-status='unfilled'");
} else {
console.warn("ℹ️ لم يظهر بعد data-ad-status. قد يكون الإعلان لم يكتمل تحميله أو لم يتم استدعاء adsbygoogle.push.");
}const iframe = ad.querySelector("iframe");
if (iframe) {
const iframeRect = iframe.getBoundingClientRect();
console.log("Iframe found ✅", {
width: Math.round(iframeRect.width),
height: Math.round(iframeRect.height),
src: iframe.src || "بدون src ظاهر"
});
} else {
console.warn("لا يوجد iframe داخل هذه الوحدة حالياً.");
}console.groupEnd();
});const hiddenParents = ads.filter(ad => {
let el = ad;
while (el && el !== document.body) {
const st = window.getComputedStyle(el);
const r = el.getBoundingClientRect();
if (st.display === "none" || st.visibility === "hidden" || r.width === 0) {
return true;
}
el = el.parentElement;
}
return false;
});console.log("3) Units inside hidden/zero-width containers:", hiddenParents.length);if (hiddenParents.length > 0) {
console.error("بعض الإعلانات داخل عناصر مخفية أو عرضها 0. غالباً هذا سبب خطأ availableWidth=0.");
}console.log("%cانتهى الفحص.", "font-weight:bold;color:green");
})();
و أكدت مصادر الموقع نبأ تنفيذ الحجر الصحي على المصحة المذكورة على خلفية تأكيد إصابة مصاب كان يرقد بذات المصحة بفيروس كورونا، بعد نقله إلى المستشفى الجهوي الحسن الثاني بأكادير و إجراء التحاليل المخبرية له، و أشارت نفس المصادر بأنه تم وضع عدد من الأطر الصحية بذات المصحة تحت الحجر الصحي في الطابق الثالث، بعد مخالطتهم للمريض المنحذر من اقليم اشتوكة أيت باها، بعدما سبق أن ولج المصحة في حالة صحية حرجة، حيث مكث في غرفة الإنعاش ثلاثة أيام متتالية، قبل أن يتبين إصابته بفيروس كورونا المستجد.
هذا، وحاولت اكادير24 الإتصال بأحد المسؤولين على المصحة، لأخذ رأيه في الموضوع، لكن دون جدوى، في الوقت الذي أسرت فيه مصادر أخرى للموقع بأن الحجر الصحي سيطبق على المصحة كلها و ليس على الطابق الثالث كما أشارت إلى ذلك بعض المصادر الإعلامية.