WebSite X5Help Center

 
DENNIS S.
DENNIS S.
User

Script problem  en

Auteur : DENNIS S.
Visité 538, Followers 1, Partagé 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

Posté le
3 RéPONSES - 1 UTILES
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

Lire plus
Posté le de Paul M.
DENNIS S.
DENNIS S.
User
Auteur

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.

Lire plus
Posté le de 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.

Lire plus
Posté le de Paul M.