Copy link to clipboard
Copied
Hi everyone,
Problem:
In Chrome vs 98, the iframe generated by the Adobe Embed API (https://github.com/adobe/pdf-embed-api-samples/tree/master/More%20Samples/Angular%20Samples) throws the error: Refused to load the script 'data:application/javascript;charset=utf-8;base64,Ly0...' because it violates the following Content Security Policy Directive: "script -src 'self' use.typekit.net ...".
I see that the 'data:' element in the script-src CSP element does not exist.
I think it should be for older browsers.
Context:
I am using Angular 18 and a dedicated domain dns host.
Best regards
Have something to add?