Chrome extension Content Security Policy directive error

前端 未结 4 1257
悲哀的现实
悲哀的现实 2020-12-08 15:44

I\'m trying to make radio stream chrome extension but there is a problem. When I run my script in browser like normal JS+HTML+CSS it works, but when I try runing it like Chr

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-08 16:32

    For me, the reason is that I'm using an older version (such as v1.7) of jQuery that has CSP problems, choose a new version (v2.1.3).

提交回复
热议问题