Title: Render-blocking JavaScript
Last modified: August 22, 2016

---

# Render-blocking JavaScript

 *  Resolved anonymized-14239226
 * (@anonymized-14239226)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/render-blocking-javascript-2/)
 * HI, Great plugin.
 * Google Pagespeed Insights recommends removing render-blocking JavaScript and
   
   graceful-pull-quotes/resources/jspullquotes.js comes up as one to resolve.
 * How do I do this?
 * I attempted to place the entire jspullquotes.js in the header but that didn’t
   work and Google recommend only small js scripts in that method, form what I figure.
 * Thank you
 * Chris
 * [https://wordpress.org/plugins/graceful-pull-quotes/](https://wordpress.org/plugins/graceful-pull-quotes/)

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

 *  Plugin Author [Stephen Rider](https://wordpress.org/support/users/strider72/)
 * (@strider72)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/render-blocking-javascript-2/#post-5922806)
 * Short of hacking the plugin, you would not be able to do it. In terms of code,
   it appears to simply be a matter of moving the script tags from the header to
   the footer of the page, which may work fine but may cause problems in certain
   themes.
 * That being said, I believe Google is being overly cautious with this warning.
   Yes, you’re loading a script (from the same server as the rest of your site),
   but very little actually runs until after the DOM is fully loaded. In fact, all
   that runs before then is a JS script that tells it to run something after the
   DOM is loaded. 😉
 *  Plugin Author [Stephen Rider](https://wordpress.org/support/users/strider72/)
 * (@strider72)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/render-blocking-javascript-2/#post-5922807)
 * Hi Blair —
 * I will add an option in the next release that lets you move it to the footer 
   instead of the header. That will solve your problem.
 * In the meantime, you can fix it by modifying the plugin file. Open graceful-pull-
   quotes.php and find the following line:
 * `add_action( 'wp_head', array( &$this, 'wp_head' ) );`
 * Change it to:
    `add_action( 'wp_print_footer_scripts', array( &$this, 'wp_head'));`
 * Of course the next plugin update will undo this hack, but then you should be 
   able to go into Settings and click a checkbox to do this.
 *  Thread Starter anonymized-14239226
 * (@anonymized-14239226)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/render-blocking-javascript-2/#post-5922808)
 * This is great Stephen. It works great. Thank you! And I look forward to the update.
 *  Plugin Author [Stephen Rider](https://wordpress.org/support/users/strider72/)
 * (@strider72)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/render-blocking-javascript-2/#post-5922809)
 * Marking this “Resolved”.
 *  Plugin Author [Stephen Rider](https://wordpress.org/support/users/strider72/)
 * (@strider72)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/render-blocking-javascript-2/#post-5922814)
 * See version 2.6

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

The topic ‘Render-blocking JavaScript’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/graceful-pull-quotes.svg)
 * [Graceful Pull-Quotes](https://wordpress.org/plugins/graceful-pull-quotes/)
 * [Support Threads](https://wordpress.org/support/plugin/graceful-pull-quotes/)
 * [Active Topics](https://wordpress.org/support/plugin/graceful-pull-quotes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/graceful-pull-quotes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/graceful-pull-quotes/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Stephen Rider](https://wordpress.org/support/users/strider72/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/render-blocking-javascript-2/#post-5922814)
 * Status: resolved