Title: &#8220;Script blocking&#8221; feature and inline scripts
Last modified: December 29, 2022

---

# “Script blocking” feature and inline scripts

 *  Resolved [Tony Hayes](https://wordpress.org/support/users/majick/)
 * (@majick)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/script-blocking-feature-and-inline-scripts/)
 * We had your “script blocking” feature enabled and it was breaking our checkout,
   because it was disabling inline scripts (added to existing enqueued scripts) 
   until consent was provided. This is REALLY bad and not the expected behaviour.
   
   It’s super questionable to me whether a consent plugin should even affect scripts
   at all. But since you want to provide this “feature”, it should be clearly and
   explicitly stated on the plugin page whether this is the default or not (I sure
   hope it isn’t!) and that it REQUIRES testing after enabling such a feature.The“
   script blocking” list only lists a few plugins and gives the option to enable/
   disable scripts for those. There is no option on that page or on the plugin settings
   at all that even mentions inline scripts and gives you the option to not disable
   them. Fortunately the entire feature could be turned off on that page (but not
   in the settings?)I suggest you add some settings to the Advanced tab belo the
   Advanced Script Rendering option… One for script blocking and a separate one 
   for inline script blocking – defaulted to OFF so that activating your plugin 
   doesn’t break any necessary scripts. Oh and some extra notes on the plugin page
   and in the documentation about this somewhere, as I couldn’t find anything and
   it took me an hour of searching around to work out it was your plugin and where
   to turn this off, after another hour of trying to work out why the checkout didn’t
   work for new site visitors. And I’m a dev myself, lucky to find this during routine
   testing. I can’t imagine what other users would do – just not realize things 
   are even broken I guess!
    -  This topic was modified 3 years, 3 months ago by [Tony Hayes](https://wordpress.org/support/users/majick/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [CookieYes Team](https://wordpress.org/support/users/cookieyesteam/)
 * (@cookieyesteam)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/script-blocking-feature-and-inline-scripts/#post-16329650)
 * Hi [@majick](https://wordpress.org/support/users/majick/),
   Greetings from CookieYes!
   If you have enabled the plugins that are listed there and turned the toggle button
   ON, the script blocker will block it. For our plugin to block any other scripts,
   they must be manually added to the cookie category.
 * We need to thoroughly check the issue you mentioned on your site to provide a
   solution. Could you share your site URL?
 *  Plugin Support [CookieYes Team](https://wordpress.org/support/users/cookieyesteam/)
 * (@cookieyesteam)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/script-blocking-feature-and-inline-scripts/#post-16341345)
 * Hi [@majick](https://wordpress.org/support/users/majick/),
 * This thread has been inactive for a while, so we will mark it as resolved now.
   Please feel free to open a new thread or follow up if you have any further questions
   or still need help.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘“Script blocking” feature and inline scripts’ is closed to new replies.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [CookieYes Team](https://wordpress.org/support/users/cookieyesteam/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/script-blocking-feature-and-inline-scripts/#post-16341345)
 * Status: resolved