Delivery Exception

<script id="lgs-script">// <![CDATA[
var url = "https://logisy.tech/app/delivery_exception_reason.html" + window.location.search + "&shop=ghar-soaps.myshopify.com";


var template = '<style>.section-header{display: none;}#lgs-iframe-popover{position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: white; overflow: auto; z-index: 100000;}#lgs-iframe-popover #lgs-iframe{width: calc(100vw - 150px); height: 790px; max-width: 100%; margin: 40px auto 20px; display: block; border: none;}@media (max-width: 600px){#lgs-iframe-popover #lgs-iframe{height: 900px; margin: 0 auto; width: calc(100vw - 20px);}}</style><div id="lgs-iframe-popover"><iframe id="lgs-iframe" src="' + url + '"></iframe></div>'
setTimeout(function() {
//document.getElementById('lgs-script').insertAdjacentHTML('afterend', template)
document.body.insertAdjacentHTML('beforeend', template)
}, 0)
// ]]></script>