Does Content Security Policy block bookmarklets?

后端 未结 4 1665
予麋鹿
予麋鹿 2020-12-31 01:30

Does Mozillas CSP block to execute Javascript from a bookmark by default?

Can it be configured to do so?

4条回答
  •  傲寒
    傲寒 (楼主)
    2020-12-31 02:16

    The behavior is specified in mozillas wiki.

    CSP should not interfere with the operation of user-supplied scripts (such as browser add-ons and bookmarklets).

    Have a look here: https://wiki.mozilla.org/Security/CSP/Specification#Non-Normative_Client-Side_Considerations

提交回复
热议问题