Title: Defer Datatables javascript parsing
Last modified: November 28, 2016

---

# Defer Datatables javascript parsing

 *  Resolved [spoxnr](https://wordpress.org/support/users/spoxnr/)
 * (@spoxnr)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/defer-datatables-javascript-parsing/)
 * Parsing all the datatables javascript files is slowing my website down for speed
   ratings. (I have datatables turned off as well.)
    How can I have the plugin only
   call external datatables javascript files on pages where the plugin shortcode
   is used? Or how can I have the plugin not call external javascript files all 
   together? Cheers!

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

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/defer-datatables-javascript-parsing/#post-8490474)
 * Have you read this plugin’s [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/faq/)
   page? Look for the heading that reads “How do I remove unneeded stylesheets or
   JavaScripts that this plugin adds?”
    -  This reply was modified 9 years, 6 months ago by [Meitar](https://wordpress.org/support/users/meitar/).
 *  Thread Starter [spoxnr](https://wordpress.org/support/users/spoxnr/)
 * (@spoxnr)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/defer-datatables-javascript-parsing/#post-8490542)
 * There isn’t any reason to modify my theme to change the behavior of a plugin 
   so I actually went ahead and edited the plugin’s code by commenting out the following
   line:
 * `add_action('wp_enqueue_scripts', array($this, 'addFrontEndScripts'));`
 * Worked like a charm!
    Cheers!

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

The topic ‘Defer Datatables javascript parsing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [spoxnr](https://wordpress.org/support/users/spoxnr/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/defer-datatables-javascript-parsing/#post-8490542)
 * Status: resolved