Title: Javascript slowing page down
Last modified: March 13, 2024

---

# Javascript slowing page down

 *  Resolved [Vray admin](https://wordpress.org/support/users/vray-admin/)
 * (@vray-admin)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/javascript-slowing-page-down/)
 * Hi. I am getting a huge block of javascript in the footer from Ad Inserter Pro.
   See screenshot – [Screenshot](https://imgur.com/a/qoZQuoY)
 * This disappears when I disable the plugin, and re-appears when the plugin is 
   re-enabled. It also adds around 1 second of pagespeed load time on when the plugin
   is enabled.
 * I have tried to turn Wait for jQuery to disabled but cannot get rid of this code.
   Is there a way of removing this code from every page by loading it externally
   for example?
 * This is affecting my website speed by around 1 second by having the plugin enabled.
   It adds over 1,200 ms of blocking time in Google Pagespeed insights.
 * Thanks

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

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/javascript-slowing-page-down/#post-17496504)
 * Hello,
 * this is code is used for client-side features – you can configure the plugin 
   to load it from an external file:
   [https://adinserter.pro/documentation/plugin-settings#javascript-code](https://adinserter.pro/documentation/plugin-settings#javascript-code)
 * However, this code has no impact on the page loading.
 *  Thread Starter [Vray admin](https://wordpress.org/support/users/vray-admin/)
 * (@vray-admin)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/javascript-slowing-page-down/#post-17496513)
 * I have set **Wait for jQuery** to **disabled**.
 * Is there anything else I need to do to stop this script being loaded inline? 
   I have tried disabling all features within Adinserter and it is still showing.
 * Thanks
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/javascript-slowing-page-down/#post-17496518)
 * This option should be disabled, otherwise you can’t set the option to load the
   javascript code from the file.
 * That’s it, maybe you need to flush all the caches.

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

The topic ‘Javascript slowing page down’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Spacetime](https://wordpress.org/support/users/spacetime/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/javascript-slowing-page-down/#post-17496518)
 * Status: resolved