Title: WProcket delay javascript compatiblity
Last modified: October 17, 2021

---

# WProcket delay javascript compatiblity

 *  Resolved [worldsdream](https://wordpress.org/support/users/worldsdream/)
 * (@worldsdream)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/wprocket-delay-javascript-compatiblity/)
 * Hi Jeff,
 * When you enable the feature [Delay JavaScript Execution](https://docs.wp-rocket.me/article/1349-delay-javascript-execution)
   in the WP Rocket plugin, there are a couple of issues.
 * The issues that I see are:
 * 1. Prism copy button doesn’t show up
    2. Syntax highlighting colors don’t show
   up 3. Line numbers don’t show up
 * At WP Rocket they have a [Delay JavaScript Execution compatibility exclusions](https://docs.wp-rocket.me/article/1560-delay-javascript-execution-compatibility-exclusions)
   page.
 * I searched for “Prismatic”, but unfortunately, I can’t find anything yet.
 * Would you please let us know what we need to add to the WP Rocket exclusion list
   to have 100% compatibility with Prismatic when enabling delay javascript execution
   compatibility?
 * After that, I or you can update WP Rocket to add “Prismatic” to the [Delay JavaScript Execution compatibility exclusions](https://docs.wp-rocket.me/article/1560-delay-javascript-execution-compatibility-exclusions)
   page.
 * Let me know if you need anything else from my end.
 * Thanks.
 * Before screenshot: [https://i.imgur.com/vYMEhtH.png](https://i.imgur.com/vYMEhtH.png)
   
   Enable feature screenshot: [https://i.imgur.com/LTYZpqj.png](https://i.imgur.com/LTYZpqj.png)
   After screenshot: [https://i.imgur.com/714hywX.png](https://i.imgur.com/714hywX.png)
 * With the “After screenshot”, you can see that the copy button, line numbers, 
   and colors are missing.

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/wprocket-delay-javascript-compatiblity/#post-14977355)
 * Hi [@worldsdream](https://wordpress.org/support/users/worldsdream/), glad to 
   help. I don’t use WP Rocket, so no idea what changes need made to accommodate
   the mentioned feature. But I am glad to make any reasonable changes, just need
   to know what specifically is required code-wise. Is there some documentation 
   that explains how to implement?
    -  This reply was modified 4 years, 7 months ago by [Jeff Starr](https://wordpress.org/support/users/specialk/).
 *  Thread Starter [worldsdream](https://wordpress.org/support/users/worldsdream/)
 * (@worldsdream)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/wprocket-delay-javascript-compatiblity/#post-14977363)
 * The documentation I have is: [Delay JavaScript Execution](https://docs.wp-rocket.me/article/1349-delay-javascript-execution)
 * So far I can read, you don’t have to make any changes and we can add prismatic
   exclusion to the WP rocket list.
 * I think it’s a bit easier for you than for me to understand what we can add to
   the “WP Rocket exclusion list”.
 * I can test if you like to share with me a couple of examples.
 * Edit: Ah I can see that’s possible to add compatibility in the plugin (which 
   would be the best if possible). For example, “The latest versions of Advanced
   Ads include automatic compatibility with Delay JS”.
 * But, I can’t find any documentation about it…
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/wprocket-delay-javascript-compatiblity/#post-14977374)
 * Yeah I don’t know. Any information you can find or gather would be useful.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/wprocket-delay-javascript-compatiblity/#post-15001117)
 * Hi [@worldsdream](https://wordpress.org/support/users/worldsdream/), just wanted
   to follow up with this. It’s been awhile with no reply, so just checking if I
   can provide any further information? Please let me know. Thank you.
 *  Thread Starter [worldsdream](https://wordpress.org/support/users/worldsdream/)
 * (@worldsdream)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/wprocket-delay-javascript-compatiblity/#post-15001526)
 * Hi [@specialk](https://wordpress.org/support/users/specialk/),
 * I did sent WP rocket a tweet about this.
 * This is the answer:
 * > Hi there, our documentation about the Delay Javascript Execution feature is
   > here: [https://t.co/upWbynEF6C](https://t.co/upWbynEF6C) – If you have any 
   > unanswered questions left, please get in touch with our Support team ([https://t.co/wnxKbRUM0k](https://t.co/wnxKbRUM0k)).
   > Thanks and have a nice day 🙂
   > — WP Rocket ™ (@wp_rocket) [October 18, 2021](https://twitter.com/wp_rocket/status/1450082848090771459?ref_src=twsrc%5Etfw)
 * I don’t think you can do a lot with that, right?
 * If you can’t. You can close this and everyone else that is reading this needs
   to know that prismatic is not compatible with wp rocket delay javascript.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/wprocket-delay-javascript-compatiblity/#post-15001534)
 * Thanks that is useful, although tons of information to dig thru. I’ll go ahead
   and leave this ticket marked as unresolved until I get a chance to investigate
   further. Will see if there is a feasible, sensible way to add support for this.
   Otherwise as you say, it may just not be compatible.
    -  This reply was modified 4 years, 7 months ago by [Jeff Starr](https://wordpress.org/support/users/specialk/).
 *  Thread Starter [worldsdream](https://wordpress.org/support/users/worldsdream/)
 * (@worldsdream)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/wprocket-delay-javascript-compatiblity/#post-15001537)
 * If there is a developer that I believe in, it’s you Jeff 😉
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wprocket-delay-javascript-compatiblity/#post-15250628)
 * After investigating turns out that WP Rocket Delay JS and Prismatic do NOT play
   well together. Things may change in the future, will keep an eye on it. In any
   case, thank you for bringing this to my attention, [@worldsdream](https://wordpress.org/support/users/worldsdream/).
   Your feedback and ideas are appreciated.

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

The topic ‘WProcket delay javascript compatiblity’ is closed to new replies.

 * ![](https://ps.w.org/prismatic/assets/icon-256x256.png?rev=1521267)
 * [Prismatic](https://wordpress.org/plugins/prismatic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/prismatic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/prismatic/)
 * [Active Topics](https://wordpress.org/support/plugin/prismatic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/prismatic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/prismatic/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/wprocket-delay-javascript-compatiblity/#post-15250628)
 * Status: resolved