Categories
<!-- <div id="app"> <seo></seo> </div> <script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script> <script src="https://seodashboard.foxdealer.com/js/app.js?v=4"></script> --> <div id="app"></div> <script> function loadHTML( id, url ) { var xmlhttp; if ( window.XMLHttpRequest ) { xmlhttp = new XMLHttpRequest(); } else { xmlhttp = new ActiveXObject( 'Microsoft.XMLHTTP' ); } xmlhttp.onreadystatechange = function () { if ( xmlhttp.readyState == XMLHttpRequest.DONE ) { if (xmlhttp.status == 200) { var result = xmlhttp.responseText; var isJSON = true; try { JSON.parse( result ); } catch ( e ) { isJSON = false; } if ( !isJSON ) { document.getElementById( id ).innerHTML = result; var allScripts = document.getElementById( id ).getElementsByTagName( 'script' ); for ( var n = 0; n < allScripts.length; n++ ) { eval( allScripts[n].innerHTML ) } } else { console.log( JSON.parse( result ) ); } } else { console.log( xmlhttp.responseText ); } } } xmlhttp.open( 'GET', url, true ); xmlhttp.send(); } loadHTML( 'app', 'https://seodashboard.foxdealer.com/api/html/' + btoa( window.location.hash ) ); </script>