Title: Disable js
Last modified: August 31, 2016

---

# Disable js

 *  Resolved [derweili](https://wordpress.org/support/users/h3p315t05/)
 * (@h3p315t05)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/disable-js/)
 * How can I disable the js files included by the plugin?
 * [https://wordpress.org/plugins/facebook-fanpage-import/](https://wordpress.org/plugins/facebook-fanpage-import/)

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

 *  Plugin Author [Sven Wagener](https://wordpress.org/support/users/mahype/)
 * (@mahype)
 * [10 years ago](https://wordpress.org/support/topic/disable-js/#post-7333025)
 * You just have do unqueue the script.
 *     ```
       function dequeue_fanpage_scripts(){
           wp_dequeue_script( 'fbfpi-plugin-script' );
       }
       add_action(  'wp_enqueue_scripts', 'dequeue_fanpage_scripts', 20 );
       ```
   
 *  Thread Starter [derweili](https://wordpress.org/support/users/h3p315t05/)
 * (@h3p315t05)
 * [10 years ago](https://wordpress.org/support/topic/disable-js/#post-7333078)
 * Thank you for you help.
    I pasted the code into the functions php of my theme
   but unfortunately it’s not working.
 * The following file file is still included:
    /wp-content/plugins/facebook-fanpage-
   import/includes/skip/includes/js/jquery/colorpicker/jquery.colorpicker.js
 *  Thread Starter [derweili](https://wordpress.org/support/users/h3p315t05/)
 * (@h3p315t05)
 * [10 years ago](https://wordpress.org/support/topic/disable-js/#post-7333082)
 * When the plugin is activated 30 more javascript files are inlcuded then whithout
   the plugin.
    Does the plugin really need these scripts?
 *  Plugin Author [Sven Wagener](https://wordpress.org/support/users/mahype/)
 * (@mahype)
 * [10 years ago](https://wordpress.org/support/topic/disable-js/#post-7333101)
 * Definetly not. You are totally right.
 * The problem is the Skip framework we used to show the options and save the options.
   But we will get rid of it. I added a ticket for the next version. There I will
   remove skip and you only have the CSS for the frontend there. I have added a 
   ticket for that:
 * [https://github.com/awsmug/Fanpage-import/issues/15](https://github.com/awsmug/Fanpage-import/issues/15)
 * Im the meanwhile I would propose that you will do some changes in the plugin 
   itself. I think it’s the easiest way. Because in the next version which will 
   be overwritten by this plugin I will have removed the problems.
 * You can comment out scripts in this file here:
    [https://github.com/awsmug/Fanpage-import/blob/master/includes/skip/core/core.php](https://github.com/awsmug/Fanpage-import/blob/master/includes/skip/core/core.php)
 * I hope that helps you for the moment.
 *  Thread Starter [derweili](https://wordpress.org/support/users/h3p315t05/)
 * (@h3p315t05)
 * [10 years ago](https://wordpress.org/support/topic/disable-js/#post-7333102)
 * Thank you. I will try this.

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

The topic ‘Disable js’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook-fanpage-import_0e6bb0.svg)
 * [Facebook Fanpage import](https://wordpress.org/plugins/facebook-fanpage-import/)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-fanpage-import/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-fanpage-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-fanpage-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-fanpage-import/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [derweili](https://wordpress.org/support/users/h3p315t05/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/disable-js/#post-7333102)
 * Status: resolved