WebSite X5Help Center

 
DENNIS S.
DENNIS S.
User

Script problem  en

Author: DENNIS S.
Visited 343, Followers 1, Shared 0  

I put this script in my website X5 Pro and it doesn't work? What am I doing wrong?

Please test to see if it works for you? I've tried all 3 ways of inserting in my website.

<script type="text/javascript" language="JavaScript" src="http://www.nflweather.com/widget/current_week_horizontal_full.js" ></script>

Thanks

Dennis

Posted on the
3 ANSWERS - 1 USEFUL
Paul M.
Paul M.
Moderator

Hello Dennis,

If you have an SSL certificate installed on the site in which you are trying to embed this script, then that could be a problem.

Mixed content (non-secure and secure...  http:// and https://) is no longer permitted by many of the popular browsers due to security issues.

The script itself works fine.

What is Mixed Content?

Kind regards,

Paul

Search the WebSite X5 Help Center

Read more
Posted on the from Paul M.
DENNIS S.
DENNIS S.
User
Author

Yes, I have an SSL site. When I preview the script in X5, I can see the results correctly.
But when I look go to the page in my Firefox browser it is not showing at all.

Read more
Posted on the from DENNIS S.
Paul M.
Paul M.
Moderator

That confirms my earlier explanation, Dennis.

The WebSite X5 preview browser does not utilise an SSL certificate.  So your script (which is fetched over a non-secure http protocol) can be displayed without issue...  i.e. there is no mixing of secure and non-secure content.

But the Firefox browser will not permit insecure scripts to be loaded over a secure connection.  See the article I linked to above.

Read more
Posted on the from Paul M.