Title: Inline scripts from plugins seems not detected
Last modified: July 28, 2020

---

# Inline scripts from plugins seems not detected

 *  Resolved [testerteej](https://wordpress.org/support/users/testerteej/)
 * (@testerteej)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/inline-scripts-from-plugins-seems-not-detected/)
 * Upon activating and setting up to “defer” all scripts from plugins there are 
   still some console log errors for missing js libraries:
 * [https://i.imgur.com/IaX5sm1.pngA](https://i.imgur.com/IaX5sm1.pngA)
 * The errors are forced by inline javascripts from some plugins trying to run some
   codes with the deferred libraries which are missing due to the fact that they
   are deferred.
 * > [View post on imgur.com](https://imgur.com/blSiciD)
 * So is there a way to include these inline scripts inserted by some plugins to
   have the “defer” attributes as well?

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/inline-scripts-from-plugins-seems-not-detected/#post-13179723)
 * AsyncJS does not work on inline JS, as async/ defer flags are not allowed/ honored
   on those I’m afraid.
 * hope this clarifies,
    frank
 *  Thread Starter [testerteej](https://wordpress.org/support/users/testerteej/)
 * (@testerteej)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/inline-scripts-from-plugins-seems-not-detected/#post-13179969)
 * I have no way to defer these inline scripts execution in another manner as they
   are from plugins.
 * I guess the problem then lies on the other plugins not putting their javascript
   codes as a file.
 * Thanks for the reply Frank.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/inline-scripts-from-plugins-seems-not-detected/#post-13179985)
 * you’re welcome testerteej 🙂

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

The topic ‘Inline scripts from plugins seems not detected’ 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/)

## Tags

 * [defer](https://wordpress.org/support/topic-tag/defer/)
 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * 3 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/inline-scripts-from-plugins-seems-not-detected/#post-13179985)
 * Status: resolved