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 扩展程序,它适用于没有 https 协议的网站。但是,它不会加载到使用 https 协议运行的站点上。
有什么办法可以解决这个问题吗?
在您的清单文件中,matchesincontent_scripts应该是这样的:
matches
content_scripts
"content_scripts": [ { "matches": [ "http://*/", "https://*/" ], ... }, ... ]