Title: Refused to execute inline script&#8230;
Last modified: May 23, 2018

---

# Refused to execute inline script…

 *  [Euryad](https://wordpress.org/support/users/euryad/)
 * (@euryad)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-installation-refused-to-execute-inline-script/)
 * Hi,
    I encounter an issue about the installation that I never encountered since
   I make wordpress installations. With google chrome, I have this error in the 
   console : Refused to execute inline script because it violates the following 
   Content `Security Policy directive: "script-src 'self'". Either the 'unsafe-inline'
   keyword, a hash ('sha256-nN05YLBF6L1msZE1lDLhBBTTmgFZFNtNWAhxM4CNQ2g='), or a
   nonce ('nonce-...') is required to enable inline execution.` Do you know where
   it can come from? Is this a known problem? How to solve it? Regards, EM
 * Ps : I don’t have this error in local machine with wampserver.
    -  This topic was modified 7 years, 10 months ago by [Euryad](https://wordpress.org/support/users/euryad/).
    -  This topic was modified 7 years, 10 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 7 years, 10 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-installation-refused-to-execute-inline-script/#post-10319781)
 * It’s not a problem I’ve encountered in installing WP. Something is sending a 
   Content-Security-Policy header that causes the browser to behave in a more secure
   manner. Use your browser’s network developer tool to examine responding headers
   from various requested resources. The resource responding with this header is
   the cause.
 * Background information: [https://www.html5rocks.com/en/tutorials/security/content-security-policy/](https://www.html5rocks.com/en/tutorials/security/content-security-policy/)

Viewing 1 replies (of 1 total)

The topic ‘Refused to execute inline script…’ is closed to new replies.

## Tags

 * [Google Chrome](https://wordpress.org/support/topic-tag/google-chrome/)
 * [installation issue](https://wordpress.org/support/topic-tag/installation-issue/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/wordpress-installation-refused-to-execute-inline-script/#post-10319781)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
