摘要: HTML5不会执行由innerHTML插入的<script>标签内的代码。 测试代码 window.onload = function () { let str = "<script>alert(1)</script>" document.getElementById('div').innerHTM 阅读全文
posted @ 2024-11-26 20:43 chyun2011 阅读(12) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示