أكادير24 | Agadir24 ذكرت وزارة الصحة المغربية، اليوم الاثنين 16 غشت 2021، بأنه تم تسجيل 3897 حالة جديدة بالفيروس خلال 24 ساعة المنصرمة، ليرتفع العدد الإجمالي لحالات الإصابة المؤكدة بالفيروس بالمملكة إلى 763353حالة من بينها 79118 حالة نشطة لا تزال تتلقى الرعاية الطبية.
وأشار المصدر نفسه إلى أن عدد الحالات التي تماثلت للشفاء من المرض حتى الآن ارتفع إلى 673116 حالة بعد تماثل 5886 حالة جديدة للشفاء، بينما ارتفع عدد الوفيات جراء الإصابة بالفيروس عند 11119 حالة ، بعد تسجيل 102 حالة جديدة . وتهيب وزارة الصحة بالمواطنات والمواطنين الالتزام بقواعد النظافة والسلامة الصحية، والانخراط في التدابير الاحترازية التي اتخذتها السلطات المغربية بكل وطنية ومسؤولية.
(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، وتمت مراجعتها تحريريا للحفاظ على وضوحها وسهولة الوصول إليها، مع الإبقاء على تاريخ النشر الأصلي والرابط والعنوان كما وردت في الأرشيف. ولم تتم إضافة وقائع أو تصريحات جديدة غير مؤكدة.