Title: Minify inline js
Last modified: September 12, 2020

---

# Minify inline js

 *  Resolved Anonymous User 17612203
 * (@anonymized-17612203)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/minify-inline-js-3/)
 * Why does the plogun does not offer the possibility to minify inline js?

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

 *  Plugin Author [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/minify-inline-js-3/#post-13415675)
 * Because the plugin only detects code that was properly enqueued, and it’s child
   dependencies. So if you have a js script and that script has some inline code
   that was added via wp_add_inline_script() it will work… but if you just added
   some script manually, it won’t work.
 * Version 3 will come out soon and it will capture the page, instead of using this
   method.
    That should minify all scripts, regardless of how they are added to 
   the page.
 *  Thread Starter Anonymous User 17612203
 * (@anonymized-17612203)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/minify-inline-js-3/#post-13415700)
 * Sounds great Raul. Hofe version 3 comes soon.
 * Does version 3 differentiate between inline js and others? Would be great to 
   have the possibility to choose to minify both (inline and non-inline) or just
   one. Also a possibility to exclude inline js partly would be helpfull.
    -  This reply was modified 5 years, 8 months ago by Anonymous User 17612203.

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

The topic ‘Minify inline js’ is closed to new replies.

 * ![](https://ps.w.org/fast-velocity-minify/assets/icon-128x128.jpg?rev=1440946)
 * [Fast Velocity Minify](https://wordpress.org/plugins/fast-velocity-minify/)
 * [Support Threads](https://wordpress.org/support/plugin/fast-velocity-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/fast-velocity-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fast-velocity-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fast-velocity-minify/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: Anonymous User 17612203
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/minify-inline-js-3/#post-13415700)
 * Status: resolved