admin 管理员组文章数量: 1086019
Context: NoScript blocks inline scripts by using a content security policy.
Is it possible, for a Firefox extension, to walk the DOM and selectively pick out scripts to allow, after blocking all of it with a CSP?
For example, walking the DOM to remove disallowed scripts, then somehow making Firefox execute all the remaining scripts?
I'm not sure how to execute these scripts in the context of the page rather than in the context of the extension.
本文标签: javascriptSelectively run inline scripts after blocking all of them in FIrefoxStack Overflow
版权声明:本文标题:javascript - Selectively run inline scripts after blocking all of them in FIrefox - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/p/1744036720a2522502.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论