Title: Defer listed JS
Last modified: June 28, 2018

---

# Defer listed JS

 *  Resolved [fjura](https://wordpress.org/support/users/fjura/)
 * (@fjura)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/defer-listed-js/)
 * Hello,
 * I am trying to defer a specific JS scripts, for example “addtoany.min.js” and
   I add it like this to the field “Scripts to Defer” but it doesn’t do anything
   when I check pingdom before or after I apply it, could you please tell me if 
   Im doing something wrong?
 * I have Enable Async JavaScript thicked On and Async JavaScript Method set to “
   defer”
 * thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdefer-listed-js%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/defer-listed-js/#post-10445105)
 * when looking at the page source I don’t see Async JS being active, did you happen
   to turn it off fjura?
 *  Thread Starter [fjura](https://wordpress.org/support/users/fjura/)
 * (@fjura)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/defer-listed-js/#post-10446727)
 * Hi,
 * sadly I had to turn it off as some of my widgets lost proper functionality. May
   I ask if its possible to set it up to only defer one specific script (or multiple
   scripts) and do nothing else? I would for example want to defer the floating 
   buttons, so they load after everything else is loaded.
 * thank you!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/defer-listed-js/#post-10446731)
 * > [is] it possible to set it up to only defer one specific script (or multiple
   > scripts) and do nothing else?
 * yes, by enabling “defer”, and then excluding everything but the JS that adds 
   the floating buttons.
 *  Thread Starter [fjura](https://wordpress.org/support/users/fjura/)
 * (@fjura)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/defer-listed-js/#post-10446744)
 * thank you for the fast reply. Should I do the exclusion via the “Plugin Exclusions”
   and “Theme Exclusions” or “Script Exclusion” ?
 * thank you
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/defer-listed-js/#post-10446859)
 * I would use “plugin exclusion” and “theme exclusion” and only if anything remains
   deferred after that use “script exclusions”?

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

The topic ‘Defer listed JS’ is closed to new replies.

 * ![](https://ps.w.org/async-javascript/assets/icon-128x128.png?rev=1839260)
 * [Async JavaScript](https://wordpress.org/plugins/async-javascript/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/async-javascript/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/async-javascript/)
 * [Active Topics](https://wordpress.org/support/plugin/async-javascript/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/async-javascript/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/async-javascript/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/defer-listed-js/#post-10446859)
 * Status: resolved