the source list for content security policy directive 'script-src' contains an invalid source in safari angular 5

19,058

Do you have Adblock on? I've seen the error before and it seems like AdBlock can cause this error.

Optionally you can check this thread out: https://github.com/google/google-api-javascript-client/issues/397

Seems like the issue can be caused by multiple things.

Share:
19,058
Manoj Rana
Author by

Manoj Rana

I am: NodeJS Developer I use: JavaScript/TypeScript, ReactJS/Angular, HTML/CSS, MySQL/MSSQL/PostgreSQL/MongoDB, AWS/AZURE

Updated on June 11, 2022

Comments

  • Manoj Rana
    Manoj Rana almost 2 years

    I have implemented google-recapthca in angular 5 and it working well for all browers but in safari i got following error:

    the source list for content security policy directive 'script-src' contains an invalid source: "strict-dynamic". It will be ignored.

    my safari version is : 12.0

    my html code

    <div class="g-recaptcha" id="gAuth" data-sitekey="your_site_key_here"></div>