Title: Javascript preventing plugin from working right
Last modified: August 21, 2016

---

# Javascript preventing plugin from working right

 *  [anefarious1](https://wordpress.org/support/users/anefarious1/)
 * (@anefarious1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/)
 * This is a great plugin. One small problem is that when I enable the Javascript
   feature (with or without detecting wp_head & wp_foot) it makes a plugin I use
   stop working. I’ve tried putting the URLs in the Execptions box (with and without
   the “” and – as you show in your example).
 * The URLs are:
 * [http://canigivemydog.com/wp-content/plugins/strx-magic-floating-sidebar-maker/js/strx-magic-floating-sidebar-maker.js?ver=3.6.1](http://canigivemydog.com/wp-content/plugins/strx-magic-floating-sidebar-maker/js/strx-magic-floating-sidebar-maker.js?ver=3.6.1)
 * and
 * [http://canigivemydog.com/wp-content/plugins/strx-magic-floating-sidebar-maker/js/debounce.js?ver=3.6.1](http://canigivemydog.com/wp-content/plugins/strx-magic-floating-sidebar-maker/js/debounce.js?ver=3.6.1)
 * Any idea how I can get this to work so I can keep this plugin and also have Javascript
   load async style? Thanks!
 * [http://wordpress.org/plugins/async-js-and-css/](http://wordpress.org/plugins/async-js-and-css/)

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

 *  Plugin Author [dmikam](https://wordpress.org/support/users/dmikam/)
 * (@dmikam)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197844)
 * Hi !
    Can you see some errors in Developers Console in Chrome Browser(or in Firebug
   Console in Firefox browser) after activating the plugin?
 *  Thread Starter [anefarious1](https://wordpress.org/support/users/anefarious1/)
 * (@anefarious1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197849)
 * Hi.
 * I used Chrome and I think the errors are:
 * Uncaught ReferenceError: retry_after is not defined pageview.js?version=1.6:8
 * Uncaught ReferenceError: jQuery is not defined cortisone:118
 * Uncaught ReferenceError: jQuery is not defined wp-content/plugins/contact-form-
   7/includes/js/scripts.js?ver=3.5.3:298
 * Uncaught ReferenceError: iworks_upprev is not defined upprev.js?ver=3.3.19:18
 * I don’t know if that really helps. In any case, I will just use your plugin for
   CSS and disable the Javascript option in the meantime.
    Thanks
 *  Plugin Author [dmikam](https://wordpress.org/support/users/dmikam/)
 * (@dmikam)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197852)
 * Try to put this into the exceptions list:
    jquery If there still some errors,
   let me know 🙂
 *  Thread Starter [anefarious1](https://wordpress.org/support/users/anefarious1/)
 * (@anefarious1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197854)
 * I did that but it doesn’t fix the problem. If it helps… maybe they stop working
   because they are sliders? Both plugins no longer slide into view..
 *  Plugin Author [dmikam](https://wordpress.org/support/users/dmikam/)
 * (@dmikam)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197872)
 * Is there some errors on Console after adding jquery to exceptions list ?
 *  Thread Starter [anefarious1](https://wordpress.org/support/users/anefarious1/)
 * (@anefarious1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197914)
 * Hi. From that same page the errors are:
 * [13:44:48.452] ReferenceError: retry_after is not defined @ [http://content.zemanta.com/static/js/pageview.js?version=1.6:8](http://content.zemanta.com/static/js/pageview.js?version=1.6:8)
 * [13:44:49.559] ReferenceError: jQuery is not defined @ [http://canigivemydog.com/cortisone:140](http://canigivemydog.com/cortisone:140)
 * [13:44:49.676] ReferenceError: jQuery is not defined @ [http://canigivemydog.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=3.5.3:298](http://canigivemydog.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=3.5.3:298)
 * [13:44:49.773] ReferenceError: jQuery is not defined @ [http://canigivemydog.com/wp-content/plugins/upprev/scripts/upprev.js?ver=3.3.19:13](http://canigivemydog.com/wp-content/plugins/upprev/scripts/upprev.js?ver=3.3.19:13)
 * [13:44:50.067] Load denied by X-Frame-Options: [http://googleads.g.doubleclick.net/xbbe/pixel?d=CMv9CRDxgwoYoN1T&v=APEucNUS9liDhXkXTFzKhskuhkHuU1i_ZFgIntVqlEfocV2lVzxSTvaJEBLknF8S3sHETWa-x1cV](http://googleads.g.doubleclick.net/xbbe/pixel?d=CMv9CRDxgwoYoN1T&v=APEucNUS9liDhXkXTFzKhskuhkHuU1i_ZFgIntVqlEfocV2lVzxSTvaJEBLknF8S3sHETWa-x1cV)
   does not permit cross-origin framing.
 * [13:44:50.087] ReferenceError: jQuery is not defined @ [http://canigivemydog.com/cortisone:54](http://canigivemydog.com/cortisone:54)
 * Does that help?
 *  Plugin Author [dmikam](https://wordpress.org/support/users/dmikam/)
 * (@dmikam)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197935)
 * Ok, I see… you are not using the wordpress core jquery, but the google’s public
   code…. so “jquery” exception is not working.
    You need to put this in exception
   to make it work: jquery.min.js
 *  Thread Starter [anefarious1](https://wordpress.org/support/users/anefarious1/)
 * (@anefarious1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197936)
 * Yes I use a plugin called Use Google Libraries, sorry forgot to tell you that.
   I put in the exception you recommended but the two moving plugins still don’t
   work. I checked the console again and got the following errors (strx is one of
   the moving plugins):
 * Uncaught ReferenceError: retry_after is not defined pageview.js?version=1.6:8
 * Uncaught ReferenceError: strx is not defined cortisone:212
 * I will try to see what happens if I disable the Use Google Libraries plugin. 
   If you have any other ideas THANKS!
 *  Plugin Author [dmikam](https://wordpress.org/support/users/dmikam/)
 * (@dmikam)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197937)
 * Disable this option “Detect <script> tags in wp_head”. Check if it helped, and
   if not, also disable “Detect <script> tags in wp_foot”
 *  Thread Starter [anefarious1](https://wordpress.org/support/users/anefarious1/)
 * (@anefarious1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197938)
 * Both ways you suggested eliminate the first error but the STRX (moving plugin
   in sidebar) remains:
 * Uncaught ReferenceError: strx is not defined cortisone:212
 * This single error is the problem.
 *  Plugin Author [dmikam](https://wordpress.org/support/users/dmikam/)
 * (@dmikam)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197939)
 * You will need to add to axceptions also this:
    debounce.js and strx-magic-floating-
   sidebar-maker.js
 *  Thread Starter [anefarious1](https://wordpress.org/support/users/anefarious1/)
 * (@anefarious1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197940)
 * I tried this with and without wp_head & wp_foot, made sure to clear the cache…
   and no luck.. Same error:
 * [11:51:35.339] ReferenceError: strx is not defined @ [http://canigivemydog.com/cortisone:212](http://canigivemydog.com/cortisone:212)
 * Thanks for trying though.
 *  Plugin Author [dmikam](https://wordpress.org/support/users/dmikam/)
 * (@dmikam)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197944)
 * Yesterday I published a new version with reworked function of scripts dependencies
   loading. I’m not shure, but it is possible that it will help in your case.

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

The topic ‘Javascript preventing plugin from working right’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/async-js-and-css.svg)
 * [Async JS and CSS](https://wordpress.org/plugins/async-js-and-css/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/async-js-and-css/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/async-js-and-css/)
 * [Active Topics](https://wordpress.org/support/plugin/async-js-and-css/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/async-js-and-css/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/async-js-and-css/reviews/)

## Tags

 * [float](https://wordpress.org/support/topic-tag/float/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 13 replies
 * 2 participants
 * Last reply from: [dmikam](https://wordpress.org/support/users/dmikam/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-preventing-plugin-from-working-right/#post-4197944)
 * Status: not resolved