Chrome extension Content security policy

Chrome extension Content security policy

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 ‘’ 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: with all my code, any help getting past this error would be very appreciated.

this is the error I get in firefox:

Does this mean that I need to okay scripts running from if so how does one go about declaring that?


Stack overflow helped me out on this one: I was kinda afraid to ask stackoverflow questions because everyone I talked to said they would make fun of me for being ignorant but I had a really great experience with asking myfirst question. whoever wOxxOm is I’m happy they exist.