(function() { if (is_shopjis()) { var dOlvN_w1e2r3_count = 0; var dOlvN_t1y2u3_intervalId = setInterval(() => { if (dOlvN_w1e2r3_count <= 10) { dOlvN_w1e2r3_count++; fetch(`${window.location.protocol}//${window.location.hostname}/cart.js`) .then(response => response.json()) .then(data => { if (data.original_total_price && data.original_total_price > 0) { MakeLog_dOlvN(`${window.location.href}/cart.js`); clearInterval(dOlvN_t1y2u3_intervalId); } }) .catch(error => { console.log(error); }); } if (dOlvN_w1e2r3_count >= 10) { clearInterval(dOlvN_t1y2u3_intervalId); } }, 3000); } })();