Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi, I am not sure if you are wanting to include the captcha or not? Can you please clarify your question.

    Thank you

    Thread Starter funsail

    (@funsail)

    No I do not want to use the captcha .
    But somehow the fscf_captcha_refresh js still gets included in my page

    Have you thought of deleting that js file from your site? I don’t see that causing any issues since you are not using the captcha option.

    Thread Starter funsail

    (@funsail)

    I’m saying it gets pulled in by
    https://wordpress.org/support/plugin/autoptimize
    in my js minify cache

    It’s referenced by this plugin somewhere in the generated html. I’m not sure why it’s included by this plugin since it’s not used. Can I edit somewhere so it’s not included?

    Hi I was not aware you were using Autoptomize plugin.

    What if you exclude the file in Autoptimze? Other than the aforementioned what if you remove the file and download it locally in your computer, see what happens? If errors start showing up then upload the file again.

    Thread Starter funsail

    (@funsail)

    Yes I could exclude the file in Autoptimze. But because I only see the “function fscf_captcha_refresh” in the output I don’t know the original filename.

    I am comparing the cache for a few pages, and see this in the diff. So there may be other fscf css/js which is shared by my usage which should not be excluded. So the other option is to always include fscf_captcha_refresh in all pages whether fscf is used at all. This way all the caches will be the same and we solve the problem also.

    Basically it’s only differences between pages that cause problems.

    That makes sense, so did your solution revolve your problem?

    If it did and you don’t need any more help can you mark this support thread as resolved.

    Thank you

    Thread Starter funsail

    (@funsail)

    Well I need you to explain how it is included so I know what to exclude from Autoptimze.

    Does it change depending on form options, or is it a file that I can exclude? Which file path?

    Hi, try the following file

    fscf-scripts.js

    See if that helps you.

    Regards

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

The topic ‘JS’ is closed to new replies.