but I get the error: Refused to load the script 'https://sdk.amazonaws.com/js/aws-sdk-2.831.0.min.js' because it violates the following Content Security Policy directive: "script-src 'self'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
is there any work around or method to perform sdk calls inside chrome extension contentScript.js.
Oliver Dunk
unread,
May 23, 2022, 10:08:15 AM5/23/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, yketh...@gmail.com
Hey,
In general Chrome extensions are moving away from allowing any dynamic code execution, so loading a script like that probably isn't going to work. I would give bundling the script locally and loading it from the extension a try :)
Kethan Sai
unread,
May 24, 2022, 11:36:22 PM5/24/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, oli...@oliverdunk.com, Kethan Sai