How to add Content Security Policy to Firefox extension

后端 未结 2 1959
广开言路
广开言路 2020-12-10 09:26

I have a plugin which I have to support both on Chrome and Firefox browsers. The plugin does cross script loading.

In Chrome, by adding the content security policy i

2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-10 10:03

    There are plans in the future to add content policy natively in the SDK (bug 852297), but there is a 3rd party module that should get you close to where you want to be: policy.js

提交回复
热议问题