OwlCyberSecurity - MANAGER
Edit File: ai-ads.q.min.js
function ai_process_adsense_ad(b){b=jQuery(b);var c=b.attr("width"),e=b.attr("height"),a=getAllUrlParams(b.attr("src"));if("undefined"!==typeof a.client){var g=a.client.replace("ca-",""),d=a.slotname,h=a.ifi;a=jQuery('<div class="ai-debug-ad-overlay"></div>');var f="";"undefined"!==typeof d?(f="","undefined"!==typeof ai_adsense_ad_names.publisher_id&&ai_adsense_ad_names.publisher_id==g&&"undefined"!==typeof ai_adsense_ad_names[d]&&(f='<div class="ai-info ai-info-2">'+ai_adsense_ad_names[d]+"</div>"), f='<div class="ai-info ai-info-1">'+d+"</div>"+f):0!=b.closest("div.google-auto-placed").length?(a.addClass("ai-auto-ads"),f='<div class="ai-info ai-info-1">Auto ads</div>'):a.addClass("ai-no-slot");c=jQuery('<div class="ai-debug-ad-info"><div class="ai-info ai-info-1">AdSense #'+h+'</div><div class="ai-info ai-info-2">'+c+"x"+e+"</div>"+f+"</div>");b.after(c);ai_preview_window||b.after(a)}} jQuery(document).ready(function(b){b.post(ai_ajax_url,{action:"ai_ajax",ai_check:ai_nonce,"adsense-ad-units":{ai:1}}).done(function(c){if(""!=c)try{ai_adsense_ad_names=JSON.parse(c)}catch(e){}}).fail(function(c,e,a){}).always(function(c){})}); if(!ai_preview_window){const b=document.querySelector("body");(new MutationObserver(function(c,e){for(const a of c)"childList"===a.type&&a.addedNodes.length&&"IFRAME"==a.addedNodes[0].tagName&&null!=a.addedNodes[0].getAttribute("width")&&null!=a.addedNodes[0].getAttribute("height")&&a.addedNodes[0].closest(".adsbygoogle")&&ai_process_adsense_ad(a.addedNodes[0])})).observe(b,{attributes:!1,childList:!0,subtree:!0})} function getAllUrlParams(b){var c=b?b.split("?")[1]:window.location.search.slice(1);b={};if(c){c=c.split("#")[0];c=c.split("&");for(var e=0;e<c.length;e++){var a=c[e].split("="),g=void 0,d=a[0].replace(/\[\d*\]/,function(h){g=h.slice(1,-1);return""});a="undefined"===typeof a[1]?"":a[1];d=d.toLowerCase();a=a.toLowerCase();b[d]?("string"===typeof b[d]&&(b[d]=[b[d]]),"undefined"===typeof g?b[d].push(a):b[d][g]=a):b[d]=a}}return b};