File manager - Edit - /home/infoilmg/appsdow.com/new/img.js
Back
(function () { document.addEventListener("DOMContentLoaded", function () { // اعتراض جميع طلبات تحميل الصور let originalImagePrototype = Object.getOwnPropertyDescriptor(HTMLImageElement.prototype, "src"); Object.defineProperty(HTMLImageElement.prototype, "src", { set: function (url) { if (!url.includes("google") && !url.includes("doubleclick")) { console.warn("Image blocked:", url); // عرض تحذير في الكونسول return; // منع تحميل الصور غير المسموح بها } originalImagePrototype.set.call(this, url); } }); // منع تحميل الصور عند إنشاء عناصر IMG جديدة let observer = new MutationObserver(mutations => { mutations.forEach(mutation => { mutation.addedNodes.forEach(node => { if (node.tagName === "IMG" && !node.src.includes("google") && !node.src.includes("doubleclick")) { node.remove(); // إزالة الصورة قبل تحميلها } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); console.log("Image blocking script activated!"); }); // منع تحميل الصور من CSS الخلفية let style = document.createElement("style"); style.innerHTML = ` img:not([src*="google"]):not([src*="doubleclick"]) { display: none !important; } [style*="background-image"]:not([data-ads]) { background-image: none !important; } `; document.head.appendChild(style); })();
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.4 |
proxy
|
phpinfo
|
Settings