HEX
Server: LiteSpeed
System: Linux server214.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: bigisxfd (746)
PHP: 8.4.15
Disabled: NONE
Upload Files
File: /home/bigisxfd/public_html/wp-content/plugins/advanced-iframe/js/iframe_height.html
<script type="text/javascript">
	function aiGup( name, url ) {
    if (!url) url = location.href
    name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
    var regexS = "[\\?&]"+name+"=([^&#]*)";
    var regex = new RegExp( regexS );
    var results = regex.exec( url );
    return results == null ? null : results[1];
  }
  
  var nHeight = aiGup("height");
 
  if (nHeight != null) {
    try {
      var loc = aiGup("loc"); 
      if (loc != null) {
          if (typeof window.parent.parent.aiChangeUrl === "function"){
              window.parent.parent.aiChangeUrl(loc);
          }
      }     
      var title = aiGup("title"); 
      if (title != null && title != "undefined") {
          window.parent.parent.document.title = decodeURIComponent(title);
      }     
      var id = aiGup("id");
      var nWidth = aiGup("width");
      if (id != null) {
          var iHeight = parseInt(nHeight,10);
          var iWidth = parseInt(nWidth,10);
          window.parent.parent.aiResizeIframeHeightId(iHeight,iWidth, id);
          window.parent.parent.aiShowIframeId(id);
      } else {
          alert("Please update the ai_external.js to the current version.");
      }  
  	} catch(e) {
      if (console && console.log) {
        console.log(e);
      }
    }
  }
</script>