I am trying to use Google APIs Client Library to develop a Chrome Extension. The problems is that I cannot inject this script in background page to access the API:
Debug in Chrome throw an error:
Refused to load the script 'https://apis.google.com/js/client.js?onload=handleClientLoad' because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:".
which is mentioned in this page
]. Therefore, only local script and and object resources are loaded.
I tried to download the client.js file and include it in my package but it didn't help at all.
Is there any solution for this problem?
I am using manifest version 2.