gpt4 book ai didi

javascript - 为什么 Google 在他们的 document.write() 调用中拆分 <script> 标签?

转载 作者:行者123 更新时间:2023-11-29 15:44:53 24 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
Why split the <script> tag when writing it with document.write()?

Google DFP 移动初始化代码包含以下内容:

document.write('<scr' + 'ipt src="' + src + '"></scr' + 'ipt>');

这比这样做有什么好处:

document.write('<script src="' + src + '"></script>');

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com