Report Google Chrome document.write and https in Performance, Scalability, and Reliability Posted September 30, 2020 On 4/6/2017 at 7:04 AM, wishlist said: A Parser-blocking, cross site (i.e. different eTLD+1) script, https://openx.vendercom.com/delivery/fl.js, According to Google Developers article, you can: Use asynchronous script loading, using <script src="..." async> or element.appendChild(), It is better don't use document.write for CDN, here is workaround: var script = document.createElement('script'); script.src = "...."; document.head.appendChild(script);
Google Chrome document.write and https
in Performance, Scalability, and Reliability
Posted
According to Google Developers article, you can:
<script src="..." async>
orelement.appendChild()
,It is better don't use document.write for CDN, here is workaround:
var script = document.createElement('script');
script.src = "....";
document.head.appendChild(script);