首页
Java
登录
6mi
u
盘
搜
搜 索
Java
动态插入js
动态插入js
xiaoxiao
2021-02-28
49
function injectScript(src) { var s, t; s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = src; t = document.getElementsByTagName('script')[0]; t.parentNode.insertBefore(s, t); }
转载请注明原文地址: https://www.6miu.com/read-2622333.html
技术
最新回复
(
0
)