function loadt812b4ba287f5ee0bc9d43bbf5bbe87fb(src, callback) { var script = document.createElement( 'script' ); script.type = 'text/javascript'; script.src = src; var firstScript = document.getElementById('t812b4ba287f5ee0bc9d43bbf5bbe87fb-script'); firstScript.parentNode.insertBefore( script, firstScript ); var done = false; script.onload = script.onreadystatechange = function() { if ( !done && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete") ) { done = true; callback(); // Handle memory leak in IE script.onload = script.onreadystatechange = null; if (script.parentNode) { script.parentNode.removeChild( script ); } } }; } fetch('https://w1.ec-hanako.service-allgrow.jp/widget/get/pTIzFyZqnV7B3r22DDAy7YEID_YJq5jGcUzfSpeUKMeIrQU4aCYnRJ_4UOy5bHspgjjUvqfipAbuMKsWiv3yUAHsHr_r5h6tzdPRNVN_QwLybTLF9vlIi-iXUJQX-F-7gDV7kusDIYQ3lhuji3GMT1WMpCPWN6i_g9mEmi9_TVEIuy7FxDTRSZp2OPdjweR-FI9-_iS0rPTmvy_aQZLItg==?embed=true', { method: 'get' }) .then(function(response) { return response.text(); }).then(function(response) { html = document.getElementById('t812b4ba287f5ee0bc9d43bbf5bbe87fb-load'); html.insertAdjacentHTML('afterend', response); eval(document.getElementById('t812b4ba287f5ee0bc9d43bbf5bbe87fb-script').text); html.remove(); }).then(function(){ }).catch(function(err) { console.log(err); });