PluginProbe ʕ •ᴥ•ʔ
Advanced Ads – Ad Manager & AdSense / 2.0.26
Advanced Ads – Ad Manager & AdSense v2.0.26
2.0.26 2.0.25 2.0.24 2.0.23 2.0.22 2.0.21 1.38.0 1.39.0 1.39.1 1.39.2 1.39.3 1.39.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.40.0 1.40.1 1.40.2 1.41.0 1.42.0 1.42.1 1.42.2 1.43.0 1.44.0 1.44.1 1.45.0 1.45.1 1.46.0 1.47.0 1.47.1 1.47.2 1.47.3 1.47.4 1.47.5 1.48.0 1.48.1 1.49.0 1.5.0 1.5.0.1 1.5.1 1.5.2 1.5.2.1 1.5.4 1.5.4.1 1.5.5 1.50.0 1.51.0 1.51.1 1.51.2 1.51.3 1.52.0 1.52.1 1.52.2 1.52.3 1.52.4 1.53.0 1.53.1 1.53.2 1.54.0 1.54.1 1.55.0 1.56.0 1.56.1 1.56.2 1.56.3 1.56.4 1.6 1.6.1 1.6.10 1.6.10.1 1.6.10.2 1.6.11 1.6.11.1 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.17.1 1.6.17.2 1.6.2 1.6.2.1 1.6.3 1.6.4 1.6.4.1 1.6.5 1.6.6 1.6.6.1 1.6.7 1.6.7.1 1.6.8 1.6.8.1 1.6.8.2 1.6.8.3 1.6.9 1.6.9.1 1.6.9.2 1.6.9.3 1.6.9.4 1.7 1.7.0.1 1.7.0.2 1.7.0.3 1.7.1 1.7.1.1 1.7.1.2 1.7.1.3 1.7.1.4 1.7.1.5 1.7.10 trunk 1.7.11 1.0.1 1.7.12 1.0.2 1.7.13 1.0.3 1.7.14 1.1.0 1.7.15 1.1.1 1.7.16 1.1.2 1.7.17 1.1.3 1.7.18 1.10 1.7.19 1.10.1 1.7.2 1.10.10 1.7.2.1 1.10.11 1.7.20 1.10.12 1.7.21 1.10.2 1.7.22 1.10.3 1.7.23 1.10.4 1.7.24 1.10.5 1.7.25 1.10.6 1.7.3 1.10.7 1.7.4 1.10.8 1.7.4.1 1.10.9 1.7.4.2 1.11 1.7.4.3 1.11.1 1.7.4.4 1.11.2 1.7.4.5 1.12 1.7.5 1.13 1.7.5.1 1.13.1 1.7.6 1.13.2 1.7.7 1.13.3 1.7.8 1.13.4 1.7.9 1.13.5 1.7.9.1 1.13.6 1.7.9.2 1.13.7 1.7.9.3 1.13.8 1.8 1.14 1.8.1 1.14.1 1.8.10 1.14.10 1.8.11 1.14.11 1.8.12 1.14.2 1.8.13 1.14.3 1.8.14 1.14.4 1.8.15 1.14.5 1.8.16 1.14.6 1.8.17 1.14.7 1.8.18 1.14.8 1.8.19 1.14.9 1.8.2 1.15 1.8.20 1.16 1.8.21 1.16.1 1.8.22 1.17 1.8.23 1.17.1 1.8.24 1.17.10 1.8.25 1.17.10-rc.1 1.8.26 1.17.11 1.8.27 1.17.12 1.8.28 1.17.12-rc.1 1.8.29 1.17.2 1.8.3 1.17.3 1.8.30 1.17.4 1.8.4 1.17.5 1.8.5 1.17.6 1.8.6 1.17.7 1.8.7 1.17.8 1.8.8 1.17.9 1.8.9 1.17.9-beta.1 1.9 1.18.0 2.0.0 1.19.0 2.0.1 1.19.1 2.0.10 1.2 2.0.11 1.2.1 2.0.12 1.2.2 2.0.13 1.2.3 2.0.14 1.2.4 2.0.15 1.2.5 2.0.16 1.2.6 2.0.17 1.2.7 2.0.18 1.20.0 2.0.19 1.20.0-rc.1 2.0.2 1.20.0-rc.2 2.0.20 1.20.1 2.0.3 1.20.2 2.0.4 1.20.3 2.0.5 1.21.0 2.0.6 1.21.1 2.0.7 1.22.0 2.0.8 1.22.1 2.0.9 1.22.2 1.23.0 1.23.1 1.23.2 1.24.0 1.24.1 1.24.2 1.25.0 1.25.1 1.26.0 1.27.0 1.28.0 1.29.0 1.29.1 1.3 1.3.1 1.3.10 1.3.11 1.3.12 1.3.13 1.3.14 1.3.15 1.3.16 1.3.17 1.3.18 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.30.0 1.30.1 1.30.2 1.30.2-rc.1 1.30.3 1.30.4 1.30.4-rc.1 1.30.5 1.31.0 1.31.1 1.32.0 1.32.0-rc.1 1.33.0 1.33.1 1.33.2 1.34.0 1.35.0 1.35.1 1.36.0 1.36.1 1.36.2 1.36.3 1.37.0 1.37.1 1.37.2
advanced-ads / assets / dist / advanced.js
advanced-ads / assets / dist Last commit date
admin-common-rtl.css 2 months ago admin-common.asset.php 3 weeks ago admin-common.css 2 months ago admin-common.js 3 weeks ago advanced.asset.php 5 months ago advanced.js 5 months ago app-rtl.css 3 weeks ago app.asset.php 3 weeks ago app.css 3 weeks ago app.js 3 weeks ago commands.asset.php 5 months ago commands.js 5 months ago frontend-picker.asset.php 4 months ago frontend-picker.js 4 months ago notifications-rtl.css 5 months ago notifications.asset.php 5 months ago notifications.css 5 months ago notifications.js 5 months ago post-quick-edit.asset.php 5 months ago post-quick-edit.js 5 months ago screen-ads-editing-rtl.css 5 months ago screen-ads-editing.asset.php 5 months ago screen-ads-editing.css 5 months ago screen-ads-editing.js 5 months ago screen-ads-listing-rtl.css 2 months ago screen-ads-listing.asset.php 2 months ago screen-ads-listing.css 2 months ago screen-ads-listing.js 2 months ago screen-dashboard-rtl.css 2 months ago screen-dashboard.asset.php 2 months ago screen-dashboard.css 2 months ago screen-dashboard.js 5 months ago screen-groups-listing-rtl.css 5 months ago screen-groups-listing.asset.php 2 months ago screen-groups-listing.css 5 months ago screen-groups-listing.js 2 months ago screen-placements-listing-rtl.css 5 months ago screen-placements-listing.asset.php 2 months ago screen-placements-listing.css 5 months ago screen-placements-listing.js 2 months ago screen-settings-rtl.css 2 months ago screen-settings.asset.php 2 months ago screen-settings.css 2 months ago screen-settings.js 5 months ago screen-tools-rtl.css 2 months ago screen-tools.asset.php 2 months ago screen-tools.css 2 months ago screen-tools.js 5 months ago wp-dashboard-rtl.css 1 month ago wp-dashboard.asset.php 1 month ago wp-dashboard.css 1 month ago wp-dashboard.js 5 months ago
advanced.js
1 lines
1 !function(){function e(){let e,t=this.parentNode,o=arguments.length;if(t)for(o||t.removeChild(this);o--;)e=arguments[o],"object"!=typeof e?e=this.ownerDocument.createTextNode(e):e.parentNode&&e.parentNode.removeChild(e),o?t.insertBefore(e,this.nextSibling):t.replaceChild(e,this)}"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};const o=document.createEvent("CustomEvent");return o.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),o}),Element.prototype.replaceWith||(Element.prototype.replaceWith=e),CharacterData.prototype.replaceWith||(CharacterData.prototype.replaceWith=e),DocumentType.prototype.replaceWith||(DocumentType.prototype.replaceWith=e),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,t){let o;const s=this.length;for(t=t||window,o=0;o<s;o++)e.call(t,this[o],o,this)})}(),advads={supports_localstorage(){"use strict";try{return!(!window||void 0===window.localStorage||(window.localStorage.setItem("x","x"),window.localStorage.removeItem("x"),0))}catch(e){return!1}},max_per_session(e,t){let o=1;if(void 0!==t&&0!==parseInt(t)||(t=1),this.cookie_exists(e)){if(this.get_cookie(e)>=t)return!0;o+=parseInt(this.get_cookie(e))}return this.set_cookie(e,o),!1},count_up(e,t){let o=1;this.cookie_exists(e)&&(o+=parseInt(this.get_cookie(e))),this.set_cookie(e,o)},set_cookie_exists:e=>!!get_cookie(e)||(set_cookie(e,"",0),!1),get_cookie(e){let t,o,s,a=document.cookie.split(";");for(t=0;t<a.length;t++)if(o=a[t].substr(0,a[t].indexOf("=")),s=a[t].substr(a[t].indexOf("=")+1),o=o.replace(/^\s+|\s+$/g,""),o===e)return decodeURIComponent(s)},set_cookie(e,t,o,s,a,i){const n=null==o?null:24*o*60*60;this.set_cookie_sec(e,t,n,s,a,i)},set_cookie_sec(e,t,o,s,a,i){const n=new Date;n.setSeconds(n.getSeconds()+parseInt(o)),document.cookie=e+"="+encodeURIComponent(t)+(null==o?"":"; expires="+n.toUTCString())+(null==s?"; path=/":"; path="+s)+(null==a?"":"; domain="+a)+(null==i?"":"; secure")},cookie_exists(e){const t=this.get_cookie(e);return null!==t&&""!==t&&void 0!==t},move(e,t,o){const s=jQuery(e),a=t;if(void 0===o&&(o={}),void 0===o.css&&(o.css={}),void 0===o.method&&(o.method="prependTo"),void 0===o.offset||"right"!==o.offset&&"left"!==o.offset||(o.method="insertAfter"),""===t&&void 0!==o.target&&"wrapper"===o.target){var i="left";void 0!==o.offset&&(i=o.offset),t=this.find_wrapper(e,i)}switch((t=void 0===o.moveintohidden?jQuery(t).filter(":visible"):jQuery(t)).length>1&&console.log("Advanced Ads: element '"+a+"' found "+t.length+" times."),o.method){case"insertBefore":s.insertBefore(t);break;case"insertAfter":s.insertAfter(t);break;case"appendTo":s.appendTo(t);break;default:s.prependTo(t)}},set_parent_relative(e,t){t=void 0!==t?t:{};let o=jQuery(e).parent();t.use_grandparent&&(o=o.parent()),"static"!==o.css("position")&&""!==o.css("position")||o.css("position","relative")},fix_element(e,t){t=void 0!==t?t:{};const o=jQuery(e);t.use_grandparent?this.set_parent_relative(o.parent()):this.set_parent_relative(o),t.is_invisible&&o.show();const s=parseInt(o.offset().top),a=parseInt(o.offset().left);if(t.is_invisible&&o.hide(),"left"===t.offset){const e=jQuery(window).width()-a-o.outerWidth();o.css("position","fixed").css("top",s+"px").css("right",e+"px").css("left","")}else o.css("position","fixed").css("top",s+"px").css("left",a+"px").css("right","")},find_wrapper(e,t){let o;const s=["script",".screen-reader-text",".skip-link",e,"."+advancedAds.frontendPrefix+"entity-placement"].join(", ");return jQuery("body").children().not(s).each(function(e,s){const a=jQuery(s);if("right"===t&&a.offset().left+jQuery(a).width()<jQuery(window).width()||"left"===t&&a.offset().left>0)return"static"!==a.css("position")&&""!==a.css("position")||a.css("position","relative"),o=s,!1}),o},center_fixed_element(e){const t=jQuery(e),o=jQuery(window).width()/2-parseInt(t.css("width"))/2;t.css("left",o+"px")},center_vertically(e){const t=jQuery(e);let o=jQuery(window).height()/2-parseInt(t.css("height"))/2;"fixed"!==t.css("position")&&(o-=topoffset=parseInt(t.offset().top)),t.css("top",o+"px")},close(e){jQuery(e).remove()},wait_for_images(e,t){let o=0;const s=[];e.find('img[src][src!=""]').each(function(){s.push(this.src)}),0===s.length&&t.call(e),jQuery.each(s,function(a,i){const n=new Image;n.src=i;const c="load error";jQuery(n).one(c,function a(i){if(jQuery(this).off(c,a),o++,o==s.length)return t.call(e[0]),!1})})},privacy:{state:"unknown",state_executed:!1,get_state:function(){if("unknown"!==window.advads_options.privacy.state)return advads.privacy.state_executed||(advads.privacy.state_executed=!0,advads.privacy.dispatch_event(window.advads_options.privacy.state,!1)),advads.privacy.state;if("custom"===window.advads_options.privacy["consent-method"]){var e=new RegExp(".*?"+window.advads_options.privacy["custom-cookie-value"]+"[^;]*?");const t=advads.get_cookie(window.advads_options.privacy["custom-cookie-name"])||"";advads.privacy.state_executed||(advads.privacy.state_executed=!0,advads.privacy.dispatch_event(t.match(e)?"accepted":"unknown",!0))}advads.privacy.state_executed=!0;var t=0,o=setInterval(function(){switch(181===++t&&clearInterval(o),window.advads_options.privacy["consent-method"]){case"custom":(advads.get_cookie(window.advads_options.privacy["custom-cookie-name"])||"").match(e)&&(clearInterval(o),"accepted"!==advads.privacy.state&&advads.privacy.dispatch_event("accepted",!0));break;case"iab_tcf_20":if(void 0===window.__tcfapi)return;clearInterval(o),window.__tcfapi("addEventListener",2,function(e,t){if(t&&("tcloaded"===e.eventStatus||"useractioncomplete"===e.eventStatus||null===e.eventStatus&&void 0!==window.googlefc&&(void 0!==e.purpose||!e.gdprApplies))){const t="useractioncomplete"===e.eventStatus;if(!e.gdprApplies)return void("not_needed"!==advads.privacy.state&&advads.privacy.dispatch_event("not_needed",t));if(e.purpose.consents[1])return void("accepted"!==advads.privacy.state&&advads.privacy.dispatch_event("accepted",t));"rejected"!==advads.privacy.state&&advads.privacy.dispatch_event("rejected",t)}})}},333);return advads.privacy.state},is_adsense_npa_enabled:()=>!window.advads_options||!window.advads_options.privacy||!(!window.advads_options.privacy["show-non-personalized-adsense"]||"custom"!==window.advads_options.privacy["consent-method"]),dispatch_event(e,t){const o=advads.privacy.state;advads.privacy.state=e,console.log({state:e,previousState:o,userAction:t}),window.advanced_ads_ready_queue.push(function(){document.dispatchEvent(new CustomEvent("advanced_ads_privacy",{detail:{state:e,previousState:o,userAction:t}}))})},is_ad_decoded:e=>null===document.querySelector('script[data-tcf="waiting-for-consent"][data-id="'+e+'"]'),decode_ad(e,t){t="boolean"!=typeof t||t;const o=decodeURIComponent(Array.prototype.map.call(atob(e.textContent),function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));if(!t)return o;e.replaceWith(document.createRange().createContextualFragment(o))}}},window.advanced_ads_ready_queue.push(advads.privacy.get_state),document.addEventListener("advanced_ads_privacy",function(e){"accepted"!==e.detail.state&&"not_needed"!==e.detail.state||e.detail.userAction||"loading"===document.readyState||document.querySelectorAll('script[type="text/plain"][data-tcf="waiting-for-consent"]').forEach(advads.privacy.decode_ad)});