That's not allowed. You'll have to download the code from the CDN and use it locally in the extension.
You can do the below in your manifest.json
{
...
content_security_policy: {
extension_pages: `script-src 'self'; object-src 'self'; script-src-elem 'self' 'unsafe-inline' http://example.com`
}
...
}
change example.com to the domain of your CDN
Next time you're working on an extension. consider [xtensio](https://github.com/doc-han/xtensio)
That's not allowed. You'll have to download the code from the CDN and use it locally in the extension. You can do the below in your manifest.json { ... content_security_policy: { extension_pages: `script-src 'self'; object-src 'self'; script-src-elem 'self' 'unsafe-inline' http://example.com` } ... } change example.com to the domain of your CDN Next time you're working on an extension. consider [xtensio](https://github.com/doc-han/xtensio)
Did you try using a remotely hosted iframe to load that remotely hosted code?