In light of the change in the Chrome content security policy, I moved the entire script to separate files and referenced them in the html pages (background and popup) for my chrome extension. But I still get the following message
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:".
This is my reference page.
<html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="background.js"></script> </head> <body> </body> </html>
You see that there is no built-in js, but the error message is before it. What is the problem with my code and how to fix it?
Note: I am using manifest version 2 and chrome version 21.0.1180.89
thanks
source share