Title: WP-Rocket and JavaScript deferred
Last modified: July 2, 2022

---

# WP-Rocket and JavaScript deferred

 *  Resolved Anonymous User 15325940
 * (@anonymized-15325940)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/wp-rocket-and-javascript-deferred/)
 * Hi Thomas, just a quick question:
 * Which scripts or css classes should we exclude in WP-Rocket to make your plugin
   work flawlessly?
 * When I use the Load JavaScript deferred option in WP-Rocket, the stop elements
   do not work – unless I press on, e.g., a gravity forms option element in a form(
   ajax?) or, e.g, the “load more” button to show more posts.
 * I guess it must me related to a certain script or ajax.
 * I do NOT use Java Script delay execution in WP-rocket, just the deferred option.
   /
   jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js and /jquery-migrate(.min)?.js are
   already excluded.
 * It is not an urgent matter, but maybe you have an idea of how to fix that. Many
   thanks for your great plugin!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwp-rocket-and-javascript-deferred%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/wp-rocket-and-javascript-deferred/#post-15794072)
 * Hey @csab1915,
 * thanks for reaching out.
 * The script that handles Fixed Widget’s frontend output is `wp-content/plugins/
   q2w3-fixed-widget/js/frontend.min.js`.
 * If I understand the WP Rocket documentation correctly, then just `q2w3-fixed-
   widget` might work, too.
 * Let me know if it works.
 * Thomas
 *  Thread Starter Anonymous User 15325940
 * (@anonymized-15325940)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/wp-rocket-and-javascript-deferred/#post-15794199)
 * Hi Thomas, it didn’t make a difference.
 * However, when I deactivated the “improved version”, it worked with wp-rocket 
   without a problem. I’ll keep it like that for now. My theme and setup is a bit
   tricky for the improved version as we have already figured out in a previous 
   support questions. Thanks for your work!
 *  Plugin Author [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/wp-rocket-and-javascript-deferred/#post-15794422)
 * Glad to read that you found a solution!
 * > Thanks for your work!
 * Would you have a minute to say it in a positive [review](https://wordpress.org/support/plugin/q2w3-fixed-widget/reviews/#new-post)?
 * Thanks!
    Thomas

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

The topic ‘WP-Rocket and JavaScript deferred’ is closed to new replies.

 * ![](https://ps.w.org/q2w3-fixed-widget/assets/icon-256x256.png?rev=2384479)
 * [Fixed Widget and Sticky Elements for WordPress](https://wordpress.org/plugins/q2w3-fixed-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/q2w3-fixed-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/q2w3-fixed-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/q2w3-fixed-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/q2w3-fixed-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/q2w3-fixed-widget/reviews/)

## Tags

 * [WP Rocket](https://wordpress.org/support/topic-tag/wp-rocket/)

 * 3 replies
 * 2 participants
 * Last reply from: [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/wp-rocket-and-javascript-deferred/#post-15794422)
 * Status: resolved