- Joined
- May 17, 2023
- Messages
- 1
- Reaction score
- 0
i am trying to develop a chrome extension for a website and for that i am trying to add jquary to the site.
but when I try to add the jquery library as cdn with dom, I get an error like this:
Refused to load the script 'https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js' because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' http://localhost:* http://127.0.0.1:*". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
I tried changes to the manifest file.I tried to create meta tag and edit cps with this tag.But I did not succeed...
but when I try to add the jquery library as cdn with dom, I get an error like this:
Refused to load the script 'https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js' because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' http://localhost:* http://127.0.0.1:*". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
I tried changes to the manifest file.I tried to create meta tag and edit cps with this tag.But I did not succeed...