Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在制作一个 Chrome 扩展程序来阻止来自某些网站的一些脚本。对于外部脚本,我可以使用 beforeload 事件来阻止它们。
但是如何阻止内联脚本?
我需要运行一些内容脚本,所以我想禁用 JavaScript 对我来说不是一个选择。