Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #838893

    Hi there,

    I want to add a simple javascript to my new website, which is using the Enfold 2017 theme – just an archive of newsletters. I am using the same script from the old site and it isn’t appearing – either within a widget, code block or within a text block. It simply won’t display. Here is the code:

    <script type=”text/javascript” src=”http://ezines.bristlebird.com/t/r/p/udyky/0/1/0/0/1/”></script&gt;

    Can someone help me?

    #838999

    Hey Humphrey,

    Are any console errors being reported?

    Best regards,
    Jordan Shannon

    #839122

    The console says it’s blocking content from the source – claiming it as unsafe? Can this be overridden?

    #839172

    Hi humphreyjones,

    Try like this

    <script type="text/javascript" src="//ezines.bristlebird.com/t/r/p/udyky/0/1/0/0/1/"></script>

    Best regards,
    Victoria

    • This reply was modified 7 years, 3 months ago by Victoria.
    #839176

    No, still the same error.

    #839188

    Morning,

    Stab in the dark… your site runs an ssl (https)?

    The script you are loading is over http so is being blocked to maintain a secure site.
    There is no way to override this as the whole reason for an ssl (https) is to be secure. Forcing one link to load over http will render the ssl pointless.

    Solution – the script you are loading needs to be from an ssl domain.

    A user can click on the “load unsafe scripts” icon in the browser bar but will them be prompted the site is no longer secure

    Hope that helps a little

    TJ

    #839286

    Hey tjswarbs78,

    Thanks for the input on this. It’s much appreciated.

    Best regards,
    Jordan Shannon

    #839287

    Thanks – makes a lot of sense. I have contacted the ezine providers to sort out the issue.

    #839289

    Hi,

    Okay great. I will keep this thread open so you can report the result.

    Best regards,
    Jordan Shannon

    #839369

    Thanks for all your help – the newsletter providers have added an SSL cert to the site and the script is working perfectly now. Much appreciated.

    #839377

    Hi,

    I’m glad were able to get this configured correctly. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Javascript not displaying on Enfold theme’ is closed to new replies.