PatrickJS / angular-intercom

An Angular.js wrapper for Intercom.io providing a simple and familiar API for Angular Developer.
MIT License
89 stars 36 forks source link

Chrome app + Angularjs #20

Open killerwilmer opened 9 years ago

killerwilmer commented 9 years ago

Refused to load the script 'https://widget.intercom.io/widget/q12jy5vx' because it violates the following Content Security Policy directive: "default-src 'self' chrome-extension-resource:". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.

niemyjski commented 9 years ago

How are you configuring the directive? What browser are you using? I'm using it in our app (https://github.com/exceptionless/Exceptionless.UI/tree/master/src/components/intercom) without issue. You could try comparing yours to mine.

killerwilmer commented 9 years ago

I'm developing an (chrome app) with Angular, https://developer.chrome.com/apps/first_app

plippe commented 8 years ago

This seems to be the same issue you get when loading external libraries within a chrome extension. Have a look at google's documentation about content security policy.

roselleebarle04 commented 6 years ago

@killerwilmer were you able to solve this chrome app issue?

killerwilmer commented 6 years ago

No, for chrome app closing reasons we moved to electron.js