`; while(d.firstChild) document.body.appendChild(d.firstChild); } if(document.readyState === 'loading'){ document.addEventListener('DOMContentLoaded', injectLS); } else { injectLS(); } // Re-inject after Angular boots (in case it wipes the DOM) setTimeout(injectLS, 1000); setTimeout(injectLS, 3000); })();