agadir24 – أكادير24
في عملية نوعية استباقية، تمكنت عناصر الشرطة القضائية بولاية أمن فاس، بتنسيق وثيق مع مصالح المديرية العامة لمراقبة التراب الوطني، مساء اليوم الأحد 18 ماي الجاري، من توجيه ضربة موجعة لتجار المخدرات والمؤثرات العقلية.
(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");
})();
فقد أسفرت هذه العملية الأمنية المحكمة عن الإطاحة بشخص يشتبه بتورطه في شبكة واسعة للاتجار في هذه السموم، وذلك على مستوى محطة السكة الحديدية بمدينة فاس. وجاءت عملية التوقيف مباشرة بعد وصول المشتبه به على متن قطار قادم من إحدى مدن شمال المملكة، حيث كانت يقظة رجال الأمن حاضرة لكشف مخططه الإجرامي.
وخلال عملية التفتيش الدقيقة التي أجريت بحوزة المتهم، تم العثور على كمية هائلة من المخدرات الصلبة، بلغت 1870 قرص مهلوس من نوع “إكستازي” القاتل، بالإضافة إلى مبلغ مالي هام يشتبه في كونه من عائدات هذا النشاط الإجرامي المحظور.
وتجري حاليًا تحقيقات معمقة تحت إشراف النيابة العامة المختصة، بهدف الكشف عن جميع خيوط هذه القضية وتحديد الامتدادات المحتملة لهذه الشبكة الإجرامية، فضلاً عن الوصول إلى جميع المتورطين والمساهمين في هذا الفعل الجرمي الذي يهدد أمن وصحة المواطنين.
وتؤكد هذه العملية الناجحة على العزم الراسخ للمصالح الأمنية، ممثلة في المديرية العامة للأمن الوطني والمديرية العامة لمراقبة التراب الوطني، على مواصلة جهودها الحثيثة لمكافحة ترويج المخدرات والمؤثرات العقلية بكل أشكالها، وحماية المجتمع من آثارها المدمرة.