• Resolved monkeywisdom

    (@monkeywisdom)


    Hi,

    The optimize javascript option destroys opt in forms created through Hybrid Connect. Their tech support says not to minify HC’s javascript, but it appears that Autoptimize is all or nothing. I’d at least want to defer javascript in order to prioritize visible elements. “Optimize” seems to refer to both minification and deferment. It may be a choice between these two plugins. My site loads in well under a second, and it would be nice to not compromize that if there’s a way to be able to use both plugins. Thanks.

    https://www.ads-software.com/plugins/autoptimize/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Frank Goossens

    (@futtta)

    Hi monkeywisdom;
    As described in the FAQ you can exclude specific javascript from being autoptimized. That way you can optimize (aggregate, minify and optionally defer) most of your JS while not touching HC.

    Hope this helps,
    frank

    Thread Starter monkeywisdom

    (@monkeywisdom)

    OK. I looked at the FAQ, and it says things about excluding files like example.js. There were none of those, just long strings of code beginning with “<script>” and ending in </script>. Do I just copy and paste all that code into the exclude field? Thanks.

    Plugin Author Frank Goossens

    (@futtta)

    If you can give me the URL to your site (for a page with those HC forms), I’ll have a look. If you prefer not to post that here, you can also mail me at futtta-at-gmail-dot-com.

    Thread Starter monkeywisdom

    (@monkeywisdom)

    It’s not too private, as long as Google doesn’t find out about it yet. It’s tsunamionthesquare.com. To the exclude field, I tried adding things like hc_ and https://theabovementionedwebsite.com/wp-includes/js/admin-bar.min.js, hc_shortcode_connector and other things, but no dice. The forms still disappear. Thanks.

    Thread Starter monkeywisdom

    (@monkeywisdom)

    Whoops. That was the wrong .js url. I added the url for the Facebook .js file because that’s HC script.

    Plugin Author Frank Goossens

    (@futtta)

    Well, that’s not a straightforward plugin ??

    I would add this to the JS exclude-field;
    jquery.js, window.hc_, hc_shortcode_connector, hybridconnect

    You could also try with the “look only in head” and “force in head” options.

    hope this helps,
    frank

    Thread Starter monkeywisdom

    (@monkeywisdom)

    Spectacular. Your first suggestion worked. Thanks. I passed this on to the developers of the other plugin as well in case others have problems.

    Plugin Author Frank Goossens

    (@futtta)

    Glad it works! ??

    Have fun!
    frank

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Confilict with Hybrid Connect’ is closed to new replies.