Title: Refused to load Script
Last modified: September 10, 2021

---

# Refused to load Script

 *  Resolved [gusleo](https://wordpress.org/support/users/gusleo/)
 * (@gusleo)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/refused-to-load-script/)
 * When I’m activate this plugin and connect to quic.cloud I got message on developer
   console
 * `Refused to load the script 'data:text/javascript;base64,' because it violates
   the following Content Security Policy directive: "script-src 'unsafe-inline' '
   unsafe-eval' http: https:". Note that 'script-src-elem' was not explicitly set,
   so 'script-src' is used as a fallback.`
 * Also when activate Js and CSS Http/2 Push to ON, My Site just load spinner. When
   check to developer console, I got message
    The resouurce “xxxxxx” was preloaded
   using link preload but not used within a few seconds from the window’s load event.
   Please make sure it has an appropriate `as` value and it is preloaded intentionally.
    -  This topic was modified 4 years, 9 months ago by [gusleo](https://wordpress.org/support/users/gusleo/).
    -  This topic was modified 4 years, 9 months ago by [gusleo](https://wordpress.org/support/users/gusleo/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frefused-to-load-script%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/refused-to-load-script/#post-14860581)
 * Hi,
 * please disable option `Load JS Deferred` or remove your CSP restriction
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Refused to load Script’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/refused-to-load-script/#post-14860581)
 * Status: resolved