javascript - Chrome App doesn't load dynamic script -
i trying load javascript file dynamically using jquery.getscript
in chrome app. script file residing in local application package directory. unfortunately, it's giving error:
refused execute inline script because violates following content security policy directive: "default-src 'self' chrome-extension-resource:". either 'unsafe-inline' keyword, hash ('sha256-dwkwwwx2ujo8oy5zliq4qwwahk2h3hap48rowlzjcno='), or nonce ('nonce-...') required enable inline execution. note 'script-src' not explicitly set, 'default-src' used fallback.
is there workaround this?
Comments
Post a Comment