angular-intercom icon indicating copy to clipboard operation
angular-intercom copied to clipboard

Chrome app + Angularjs

Open killerwilmer opened this issue 9 years ago • 5 comments

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.

killerwilmer avatar Apr 16 '15 22:04 killerwilmer

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.

niemyjski avatar Apr 17 '15 13:04 niemyjski

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

killerwilmer avatar Apr 17 '15 14:04 killerwilmer

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.

plippe avatar Dec 22 '15 09:12 plippe

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

roselleebarle04 avatar Apr 08 '18 14:04 roselleebarle04

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

killerwilmer avatar Apr 08 '18 18:04 killerwilmer