Title: Blocked Script Execution error
Last modified: June 24, 2020

---

# Blocked Script Execution error

 *  [Salih K](https://wordpress.org/support/users/salihkulangara/)
 * (@salihkulangara)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/blocked-script-execution-error/)
 * I was trying this plugin,but I see I could not save the settings and Criticall
   CSS are not showing up in front end also in the settings area, but I am getting
   this message “Above-the-fold CSS styles have been generated. Save changes to 
   apply. You can view and edit generated styles in Advanced settings page.”. When
   I check the console I see this error `Blocked script execution in 'https://www.
   mysite.com/?pagespeedninja=no' because the document's frame is sandboxed and 
   the 'allow-scripts' permission is not set.`
 * How can I solve this issue, we are using Sitegroud, and previously installed 
   other caching plugins like SG Optimizer and Autooptimize etc.
 * Before I install this plugin to the site, I have tested in one of my testing 
   site, there it was working. I dont know what is wrong, please let me know if 
   I could do anything for this.

The topic ‘Blocked Script Execution error’ is closed to new replies.

 * ![](https://ps.w.org/psn-pagespeed-ninja/assets/icon.svg?rev=1722219)
 * [PageSpeed Ninja - Cache, Minify, Defer CSS JavaScript, Critical CSS, Optimize Images, Convert WebP](https://wordpress.org/plugins/psn-pagespeed-ninja/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/psn-pagespeed-ninja/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/psn-pagespeed-ninja/)
 * [Active Topics](https://wordpress.org/support/plugin/psn-pagespeed-ninja/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/psn-pagespeed-ninja/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/psn-pagespeed-ninja/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Salih K](https://wordpress.org/support/users/salihkulangara/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/blocked-script-execution-error/)
 * Status: not resolved