弗拉基米尔·沃雷克(Vladimir Volek)
我知道我可以<script>
使用jQuery从DOM中获取全部信息:
$('script[type="text/javascript"]')
但是如何获得所有注入的脚本?例如dojo。
我可以在开发人员工具中看到它们
$('script[type="text/javascript"]').length === 0
弗拉基米尔·沃雷克(Vladimir Volek)
抱歉,伙计们。有一个iframe,便笺簿就在里面。因此,如果我要求在其中输入$('script')没问题。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
编辑于
我来说两句