# Keyboard and mouse stopped working + content-security-policy error

**URL:** <https://meta.discourse.org/t/keyboard-and-mouse-stopped-working-content-security-policy-error/284544>\
**Category:** Self-hosting\
**Tags:** nginx\
**Created:** [November 6, 2023, 10:58am UTC](https://meta.discourse.org/t/keyboard-and-mouse-stopped-working-content-security-policy-error/284544 "2023-11-06T10:58:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)\
**Post date:** [November 6, 2023, 1:25pm UTC](https://meta.discourse.org/t/keyboard-and-mouse-stopped-working-content-security-policy-error/284544/4 "2023-11-06T13:25:55Z")

</div>

Strange, for me in Safari, it’s reporting that it refuses to execute line 315. Which is the inline script for the Discourse-spash preloader. So not theme related.

 ![Screenshot 2023-11-06 at 14.22.53](https://global.discourse-cdn.com/meta/original/4X/a/b/a/aba83bc0bd502cbfb461fb0aa98de39e6f0325aa.png)

For an immediate fix, you could disable CSP using a site-setting:  
 ![Screenshot 2023-11-06 at 14.24.11](https://global.discourse-cdn.com/meta/original/4X/c/0/0/c00d2aa3c9b7eb5cb543773c5a25f9bee90e13bc.png)

Just speculating: If the issue than still persists, it might be your server environment sending something unexpected. Or another script interfering (are you running any custom plugins or other scripts?)

Note that that will leave you in a vulnerable state and should be remedied ASAP. But at least your forum is working again.

---

_[View the full topic](https://meta.discourse.org/t/keyboard-and-mouse-stopped-working-content-security-policy-error/284544)._
