Title: Remove script
Last modified: November 4, 2022

---

# Remove script

 *  Resolved [mukaaartz](https://wordpress.org/support/users/mukaaartz/)
 * (@mukaaartz)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/remove-script/)
 * How do I stop the plugin from touching burst analytics’ scripts (WordPress plugin)?
   I tried those filters but nothing happened. What do you mean by script name?
 * here are the scripts that plugin loads:
 * <script data-phast-original-src=”[https://www.domain.com/wp-content/plugins/burst-statistics/helpers/timeme/timeme.min.js&#8221](https://www.domain.com/wp-content/plugins/burst-statistics/helpers/timeme/timeme.min.js&#8221);
   data-phast-params='{“ref”:”BdU72r_jpwg”}’ data-phast-original-type=”text/javascript”
   type=”text/phast” data-phast-async id=”burst-timeme-js”></script>
 * <script data-phast-original-type=”text/javascript” type=”text/phast” id=”burst-
   js-extra”>…</script>
 * <script data-phast-original-src=”[https://www.domain.com/wp-content/plugins/burst-statistics/assets/js/build/burst.min.js&#8221](https://www.domain.com/wp-content/plugins/burst-statistics/assets/js/build/burst.min.js&#8221);
   data-phast-params='{“ref”:”Nf1YBmbFOVc”}’ data-phast-original-type=”text/javascript”
   type=”text/phast” data-phast-defer id=”burst-js”></script>

Viewing 1 replies (of 1 total)

 *  Plugin Author [Albert Peschar](https://wordpress.org/support/users/kiboit/)
 * (@kiboit)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/remove-script/#post-16172950)
 * Hi [@mukaaartz](https://wordpress.org/support/users/mukaaartz/),
 * In this case the filter should be written like this:
 *     ```
       add_filter('wp_enqueue_scripts', function () {
         wp_scripts()->add_data('burst', 'phast_no_defer', true);
         wp_scripts()->add_data('burst-timeme', 'phast_no_defer', true);
       });
       ```
   
 * In any case, I’ve just released PhastPress 2.8 which includes this filter so 
   that Burst Statistics scripts are automatically not delayed by PhastPress.
 * –Albert

Viewing 1 replies (of 1 total)

The topic ‘Remove script’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Albert Peschar](https://wordpress.org/support/users/kiboit/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/remove-script/#post-16172950)
 * Status: resolved