I am looking to get access to jsdelivr cdn ( or any other cnd for that matter ) in the html page.
From the research I have done this is being done in the content_script and content_security_policy but no matter no matter what I have done I still get the following error
Content Security Policy: The page’s settings blocked the loading of a resource at https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js (“script-src”).
here is my manifest and hopefully someone can point me in the right direction
"background": {
"scripts": ["background.js"],
"page": "my-page.html"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["https://code.jquery.com, https://*.cdn.jsdelivr.net/npm"]
}
],
"browser_action": {
"default_icon": "icons/page-32.png"
},
"content_security_policy": "script-src 'self' https://*.cdn.jsdelivr.net/npm; object-src 'self'",
"permissions": [
"tabs",
"storage"
]
}