Server IP : 192.64.118.117 / Your IP : 3.144.252.197 Web Server : LiteSpeed System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : thecgapy ( 1160) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/thecgapy/mobilecreationz.com/wp-content/plugins/leads/shared/assets/js/global/ |
Upload File : |
var errors = []; window.onerror = function(msg, url, linenumber) { //alert('Error message: '+msg+' URL: '+url+' Line Number: '+linenumber); errors.push(msg + ' from ' + url + ' on line ' +linenumber); } jQuery(document).ready(function($) { var url = window.location.href; var match = url.match(/\?inbound_js/); var param = "?"; if(match) { var param = "?"; } var url = url.replace('?inbound_js', ''); var url = url.replace('&inbound_js', '') + param + "inbound-dequeue-scripts"; setTimeout(function() { document.write("<strong>Below are the javascript errors on this page</strong> " + "<br>"); /*if (errors.length === 0 ) { document.write("<strong style="color:green;">None Detected</strong> " + "<br>"); }*/ document.write("<div id='errors-here'>"); for (var i=0,len=errors.length; i<len; i++){ document.write(i + 1 + ". " + errors[i] + "<br>"); } document.write("</div>"); document.write("<div style=\'margin-top:20px;\'><strong>You need to fix these errors for things to work. There are 3 options:</strong> " + "<br>"); document.write("<strong>1. <a href=\'" +url+ "\'>Click here and dequeue (turn off) the broken javascript files</a> from this page.</strong> " + "<br>"); document.write("<strong>2. Contact the original developer of the plugin/theme causing the error.</strong> " + "<br>"); document.write("<strong>3. Disable the plugin or theme causing the conflict.</strong> " + "<br></div>"); }, 500); setTimeout(function() { var theDiv = document.getElementById("errors-here"); if(theDiv.innerHTML.length == 0){ theDiv.innerHTML = "<strong style='color:green;''>No JS Errors Detected</strong> " + "<br><br>" + "Sometimes errors are not detectatble by this handy tool, to double check please <a href='http://www.youtube.com/watch?v=x19VOytW9DM'>follow these instructions</a>"; theDiv.style.display="inline"; } }, 1000); });