Title: Specific Scripts Block
Last modified: July 16, 2019

---

# Specific Scripts Block

 *  Resolved [francescopini](https://wordpress.org/support/users/francescopini/)
 * (@francescopini)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/specific-scripts-block/)
 * Hi Nicola,
    thanks for this wonderful plugin.
 * Is SCK blocking any script inside functions.php before consent to cookies being
   given?
 * I’d like to block a specific script from being executed before cookie consent
   but I don’t know how to do that (and if it’s possible) with SCK.
 * Thanks in advance,
    Francesco
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fspecific-scripts-block%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Nicola Modugno](https://wordpress.org/support/users/shark986/)
 * (@shark986)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/specific-scripts-block/#post-11828218)
 * Hello Francesco,
 * I have just added (in the v. 2.2.2) some ways to block custom scripts.
 * You can block a script adding a “class” property to its HTML, modifying its source
   when registering the script, or adding a list of scripts to block through a filter.
 * You can find more details on the “help” page of the plugin backend.
 * Let me know, Nicola.

Viewing 1 replies (of 1 total)

The topic ‘Specific Scripts Block’ is closed to new replies.

 * ![](https://ps.w.org/smart-cookie-kit/assets/icon-128x128.png?rev=1306201)
 * [Smart Cookie Kit](https://wordpress.org/plugins/smart-cookie-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-cookie-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-cookie-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-cookie-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-cookie-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-cookie-kit/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [script](https://wordpress.org/support/topic-tag/script/)

 * 1 reply
 * 2 participants
 * Last reply from: [Nicola Modugno](https://wordpress.org/support/users/shark986/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/specific-scripts-block/#post-11828218)
 * Status: resolved