Chrome Extension Google+ integration

Skip to first unread message

Aug 12, 2013, 2:52:42 PM8/12/13
Dear Folks,

I am trying to integrate google+ API with my google chrome extension.My integration based on this quick start example introduced here:

I have migrated all inline javascript code to separate files, added content_security_policy line in my manifest.json file: 

The problem is following. When I click on the Google+ button I get following error message:
Refused to execute JavaScript URL because it violates the following Content Security Policy directive: "script-src 'self'".
Which is obviously unhappy with content_security_policy.  It throws this exception on line 468 in this file,plusone,signin/rt=j/sv=1/d=1/ed=1/am=EQ/rs=AItRSTNUM79OpqDtwYl6kryPkOs00evROQ/cb=gapi.loaded_0. It seems it is trying to embed inline script and execute it after, which violates Content Security Policy.
The same exception appears when I click to "Accept" button in the popup. As a result popup window hangs without response.

Do you have any experience with that ?

Thanks in advance!
Reply all
Reply to author
0 new messages