I am developing a Chrome Extension, and I have this in my index.html head:
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.7.5/beautify-html.js"></script>
I am getting this error:
Refused to load the script 'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.7.5/beautify-html.js' because it violates the following Content Security Policy directive: "script-src 'unsafe-eval'".
Here is my manifest.json config:
"content_security_policy": "script-src '*' 'unsafe-eval'; object-src '*';"
Does anyone know if there is a possible way to load <script>'s
which reference a www link? Is there some permissions I am missing?