SILENT KILLERPanel

Current Path: > home > codekrsu > > escapematrixonline.com > wp-content > plugins > ad-inserter > includes > > js


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//escapematrixonline.com/wp-content/plugins/ad-inserter/includes//js

NameTypeSizeLast ModifiedActions
ResizeSensor.js File 5910 bytes October 22 2021 20:38:52.
ResizeSensor.min.js File 2234 bytes June 05 2021 18:47:44.
ad-inserter-check.js File 304 bytes May 13 2017 01:33:42.
ai-adb-data.js File 1787 bytes October 10 2022 20:16:54.
ai-adb-data.min.js File 1565 bytes October 10 2022 20:16:54.
ai-adb-try.js File 405 bytes November 01 2022 19:56:04.
ai-adb-try.min.js File 309 bytes November 01 2022 19:56:04.
ai-adb.js File 37793 bytes July 01 2025 13:06:56.
ai-adb.min.js File 13882 bytes July 01 2025 13:06:56.
ai-admin.js File 1588 bytes February 04 2019 22:43:18.
ai-ads-data.js File 148 bytes October 10 2022 20:16:54.
ai-ads-data.min.js File 123 bytes October 10 2022 20:16:54.
ai-ads.js File 8599 bytes June 21 2023 20:37:26.
ai-ads.min.js File 2407 bytes March 21 2023 23:11:24.
ai-auto-ads.js File 683 bytes October 10 2022 20:16:54.
ai-auto-ads.min.js File 344 bytes October 10 2022 20:16:54.
ai-base64.js File 1296 bytes May 22 2020 22:02:18.
ai-base64.min.js File 1161 bytes March 15 2020 13:39:32.
ai-cookie-data.js File 87 bytes January 01 2023 23:22:48.
ai-cookie-data.min.js File 72 bytes January 01 2023 23:22:48.
ai-cookie.js File 28750 bytes July 01 2025 13:06:56.
ai-cookie.min.js File 10120 bytes July 01 2025 13:06:56.
ai-errors-footer.js File 1072 bytes September 28 2022 21:46:10.
ai-errors-footer.min.js File 600 bytes September 28 2022 21:46:10.
ai-errors-head.js File 133 bytes January 05 2020 22:32:08.
ai-errors-head.min.js File 77 bytes January 05 2020 22:32:08.
ai-errors.js File 402 bytes January 05 2020 22:32:08.
ai-errors.min.js File 293 bytes January 05 2020 22:32:08.
ai-filter-data.js File 142 bytes October 18 2022 23:11:16.
ai-filter-data.min.js File 116 bytes October 18 2022 23:11:16.
ai-filter.js File 16985 bytes January 01 2023 23:22:48.
ai-filter.min.js File 4946 bytes January 01 2023 23:22:48.
ai-insert-data.js File 90 bytes January 01 2023 23:22:48.
ai-insert-data.min.js File 75 bytes January 01 2023 23:22:48.
ai-insert.js File 31029 bytes June 03 2023 21:04:34.
ai-insert.min.js File 10530 bytes June 03 2023 21:04:34.
ai-jquery.js File 18 bytes June 16 2018 16:14:22.
ai-lists-data.js File 80 bytes January 01 2023 23:22:48.
ai-lists-data.min.js File 68 bytes January 01 2023 23:22:48.
ai-lists.js File 55439 bytes July 01 2025 13:06:56.
ai-lists.min.js File 15443 bytes July 01 2025 13:06:56.
ai-mobile-detect.js File 71235 bytes October 12 2022 22:31:18.
ai-mobile-detect.min.js File 39480 bytes October 12 2022 22:31:18.
ai-rotation-data.js File 100 bytes January 18 2023 23:35:12.
ai-rotation-data.min.js File 80 bytes January 18 2023 23:35:12.
ai-rotation.js File 32220 bytes March 08 2024 21:34:50.
ai-rotation.min.js File 7465 bytes March 08 2024 21:34:50.
ai-select-data.js File 156 bytes January 02 2023 21:37:30.
ai-select-data.min.js File 131 bytes January 02 2023 21:37:30.
ai-select.js File 18463 bytes April 15 2024 22:22:22.
ai-select.min.js File 7724 bytes April 15 2024 22:22:22.
ai-sidebar-data.js File 179 bytes January 01 2023 23:22:48.
ai-sidebar-data.min.js File 160 bytes January 01 2023 23:22:48.
ai-sidebar.js File 7102 bytes February 05 2023 15:58:48.
ai-sidebar.min.js File 1733 bytes February 05 2023 15:58:48.
ai-wait-functions.js File 473 bytes October 10 2022 20:16:54.
ai-wait-functions.min.js File 227 bytes October 10 2022 20:16:54.
ai-wait-jquery.js File 1749 bytes January 06 2021 22:01:50.
ai-wait-jquery.min.js File 682 bytes January 06 2021 22:01:50.
image-picker.js File 10135 bytes January 29 2017 23:56:22.
image-picker.min.js File 7523 bytes April 27 2017 22:02:34.
index.html File 44 bytes August 24 2018 20:39:16.
jquery.mousewheel.js File 8267 bytes September 30 2016 22:30:08.
jquery.mousewheel.min.js File 2771 bytes September 30 2016 22:30:08.
jquery.multi-select.js File 20136 bytes July 01 2025 13:06:56.
jquery.quicksearch.js File 4143 bytes July 01 2025 13:06:56.
jquery.scombobox.js File 66592 bytes July 01 2025 13:06:56.
jquery.scombobox.min.js File 23784 bytes July 01 2025 13:06:56.
jquery.ui.spinner.js File 13920 bytes May 13 2017 01:33:42.
missed.js File 2700 bytes January 29 2018 21:42:06.
theia-sticky-sidebar.js File 16370 bytes January 01 2023 23:22:48.
theia-sticky-sidebar.min.js File 5596 bytes January 01 2023 23:22:48.

Reading File: /home/codekrsu//escapematrixonline.com/wp-content/plugins/ad-inserter/includes//js/ai-ads.js

if (typeof ai_adsense_ad_names !== 'undefined') {

//var ai_adsense_ad_names = [];
//var ai_preview_window = typeof ai_preview !== 'undefined';

ai_process_adsense_ad = function (element) {
  var ai_debug = typeof ai_debugging !== 'undefined'; // 1
//  var ai_debug = false;

//  var adsense_container = jQuery(element);
  var adsense_container = element;

//  var adsense_width = adsense_container.attr ('width');
  var adsense_width = adsense_container.getAttribute ('width');
//  var adsense_height = adsense_container.attr ('height');
  var adsense_height = adsense_container.getAttribute ('height');

//  var adsense_iframe2 = adsense_container.contents().find ('iframe[allowtransparency]');
//  var url_parameters = getAllUrlParams (adsense_iframe2.attr ('src'))
//  var url_parameters = getAllUrlParams (adsense_container.attr ('src'))
  var url_parameters = getAllUrlParams (adsense_container.getAttribute ('src'))

  if (typeof url_parameters ['client'] !== 'undefined') {
    var adsense_ad_client = url_parameters ['client'];
    var adsense_publisher_id = adsense_ad_client.replace ('ca-', '');
    var adsense_ad_slot = url_parameters ['slotname'];
    var adsense_index = url_parameters ['ifi'];

    if (ai_debug) console.log ('AI ADSENSE', adsense_index, adsense_ad_client, adsense_ad_slot, url_parameters ['format'], url_parameters ['w'], url_parameters ['h']);

//    var adsense_overlay = jQuery('<div class="ai-debug-ad-overlay"></div>');
    var adsense_overlay_class = 'ai-debug-ad-overlay';

    var adsense_ad_info = '';
    if (typeof adsense_ad_slot !== 'undefined') {
      var adsense_ad_name = '';
      if (typeof ai_adsense_ad_names ['publisher_id'] !== 'undefined' &&
          ai_adsense_ad_names ['publisher_id'] == adsense_publisher_id &&
          typeof ai_adsense_ad_names [adsense_ad_slot] !== 'undefined') {
        adsense_ad_name = '<div class="ai-info ai-info-2">' + ai_adsense_ad_names [adsense_ad_slot] + '</div>';
      }
      adsense_ad_info = '<div class="ai-info ai-info-1">' + adsense_ad_slot + '</div>' + adsense_ad_name;
    } else {
        var adsense_auto_ads = adsense_container.closest ('div.google-auto-placed') != null;
        if (adsense_auto_ads) {
//          adsense_overlay.addClass ('ai-auto-ads');
          adsense_overlay_class += ' ai-auto-ads';

          adsense_ad_info = '<div class="ai-info ai-info-1">Auto ads</div>';
//        } else adsense_overlay.addClass ('ai-no-slot');
        } else adsense_overlay_class += ' ai-no-slot';
      }

    var adsense_overlay = '<div class="' + adsense_overlay_class + '"></div>';

//    var adsense_info = jQuery('<div class="ai-debug-ad-info"><div class="ai-info ai-info-1">AdSense #' + adsense_index + '</div><div class="ai-info ai-info-2">' + adsense_width + 'x' + adsense_height + '</div>' + adsense_ad_info + '</div>');
    var adsense_info = '<div class="ai-debug-ad-info"><div class="ai-info ai-info-1">AdSense #' + adsense_index + '</div><div class="ai-info ai-info-2">' + adsense_width + 'x' + adsense_height + '</div>' + adsense_ad_info + '</div>';

//    adsense_container.after (adsense_info);
    adsense_container.insertAdjacentHTML ('afterend', adsense_info);

    if (!ai_preview_window) {
//      adsense_container.after (adsense_overlay);
      adsense_container.insertAdjacentHTML ('afterend', adsense_overlay);
    }
  }
}

//function ai_process_adsense_ads () {
////  jQuery('ins > ins > iframe[src*="google"]:visible').each (function () {
//  document.querySelectorAll ('ins iframe[src*="google"]').forEach ((el, index) => {
//    if (!!(el.offsetWidth || el.offsetHeight || el.getClientRects ().length)) {
////      ai_process_adsense_ad (this);
//      ai_process_adsense_ad (el);
//    }
//  });
//}


//jQuery(document).ready(function($) {
function ai_load_adsense_ad_units () {

  var ai_debug = typeof ai_debugging !== 'undefined'; // 2
//  var ai_debug = false;

//  var ai_ajax_url = 'AI_AJAXURL';
//  var ai_nonce = 'AI_NONCE';
//  var adsense_data = {'ai': 1}; // dummy

//  $.post (ai_ajax_url, {'action': 'ai_ajax', 'ai_check': ai_nonce, 'adsense-ad-units': adsense_data}
//  ).done (function (data) {

  var data = {
    'action': "ai_ajax",
    'ai_check': ai_nonce,
    'adsense-ad-units[ai]': 1
  };

  var formBody = [];
  for (var property in data) {
    var encodedKey = encodeURIComponent (property);
    var encodedValue = encodeURIComponent (data [property]);
    formBody.push (encodedKey + "=" + encodedValue);
  }
  formBody = formBody.join ("&");

  async function ai_load_adsense () {
    const response = await fetch (ai_ajax_url, {
      method: 'POST',
      headers: {
        'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
      },
      body: formBody
    });

    const text = await response.text ();

    return text;
  }

  ai_load_adsense ().then (data => {
    if (data != '') {
      try {
        ai_adsense_ad_names = JSON.parse (data);

        if (ai_debug) console.log ('');
        if (ai_debug) console.log ("AI ADSENSE DATA:", Object.keys (ai_adsense_ad_names).length - 1, 'ad units');

      } catch (error) {
        if (ai_debug) console.log ("AI ADSENSE DATA ERROR:", data);
      }
    }
    if (ai_debug) console.log ('AI ADSENSE DATA', 'END');
//  }).fail (function (xhr, status, error) {
  }).catch ((error) => {
    if (ai_debug) console.log ("AI ADSENSE DATA ERROR:", error.status, error.statusText);
//  }).always (function (data) {
  });

//  $(window).on ('load', function () {
//    if (!ai_preview_window) setTimeout (function() {ai_process_adsense_ads (jQuery);}, 500);
//  });
//});
}

function ai_ready (fn) {
  if (document.readyState   === 'complete' || (document.readyState !== 'loading' && !document.documentElement.doScroll)) {
    fn ();
  } else {
     document.addEventListener ('DOMContentLoaded', fn);
  }
}

ai_ready (ai_load_adsense_ad_units);

if (!ai_preview_window) {
  const ai_target_node = document.querySelector ('body');
  const config = {attributes: false, childList: true, subtree: true};
  const ai_process_adsense_callback = function (mutationsList, observer) {
    // Use traditional 'for loops' for IE 11
    for (const mutation of mutationsList) {
      if (mutation.type === 'childList' &&
          mutation.addedNodes.length &&
          mutation.addedNodes [0].tagName == 'IFRAME' &&
          mutation.addedNodes [0].getAttribute ('width') != null &&
          mutation.addedNodes [0].getAttribute ('height') != null &&
          !!mutation.addedNodes [0].closest ('.adsbygoogle')) {
        ai_process_adsense_ad (mutation.addedNodes [0]);
      }
    }
  };

  const observer = new MutationObserver (ai_process_adsense_callback);
  observer.observe (ai_target_node, config);
}


function getAllUrlParams (url) {

  // get query string from url (optional) or window
  var queryString = url ? url.split('?')[1] : window.location.search.slice(1);

  // we'll store the parameters here
  var obj = {};

  // if query string exists
  if (queryString) {

    // stuff after # is not part of query string, so get rid of it
    queryString = queryString.split('#')[0];

    // split our query string into its component parts
    var arr = queryString.split('&');

    for (var i=0; i<arr.length; i++) {
      // separate the keys and the values
      var a = arr[i].split('=');

      // in case params look like: list[]=thing1&list[]=thing2
      var paramNum = undefined;
      var paramName = a[0].replace(/\[\d*\]/, function(v) {
        paramNum = v.slice(1,-1);
        return '';
      });

      // set parameter value (use 'true' if empty)
//      var paramValue = typeof(a[1])==='undefined' ? true : a[1];
      var paramValue = typeof(a[1])==='undefined' ? '' : a[1];

      // (optional) keep case consistent
      paramName = paramName.toLowerCase();
      paramValue = paramValue.toLowerCase();

      // if parameter name already exists
      if (obj[paramName]) {
        // convert value to array (if still string)
        if (typeof obj[paramName] === 'string') {
          obj[paramName] = [obj[paramName]];
        }
        // if no array index number specified...
        if (typeof paramNum === 'undefined') {
          // put the value on the end of the array
          obj[paramName].push(paramValue);
        }
        // if array index number specified...
        else {
          // put the value at that index number
          obj[paramName][paramNum] = paramValue;
        }
      }
      // if param name doesn't exist yet, set it
      else {
        obj[paramName] = paramValue;
      }
    }
  }

  return obj;
}

}

SILENT KILLER Tool