I am trying to recreate my wikipedia viewer but in a browser extension. I have webRequest and <all_urls> set in the permissions in the Manifest.json file. I am loading jquery locally through the js folder in the extension but I can’t seem to get past this error: Refused to load the script ‘https://en.wikipedia.org/w/api.php?action=opensearch&format=json&maxlag=5&search=doggo&callback=jQuery33105259845851237468_1549671200892&_=1549671200893’ because it violates the following Content Security Policy directive: “script-src ‘self’ blob: filesystem: chrome-extension-resource:”. Note that ‘script-src-elem’ was not explicitly set, so ‘script-src’ is used as a fallback.
Here’s a github repo: https://github.com/dmoneyballer/wikipedia_search with all my code, any help getting past this error would be very appreciated.