A parser-blocking, cross site (i.e. different eTLD+1) script, https://orgstatic1.vvwx.net/Web/Static/School/SchoolConfigData.js?v=1629852869575, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
“一个跨站解析器阻断脚本XXXX.js通过document.write调用,如果设备的网络连接较差,该脚本的网络请求可能会被浏览器在此页面或未来页面加载中被阻止。”
使用document.write导致的
//使用下面的动态加载
var script =document.createElement('script');
script.type ='text/javascript';
script.async==false;
script.src =schoolConfigApi+'?v='+new Date().getTime();
var root =document.getElementsByTagName('script')[0];
root.parentNode.insertBefore(script,root);