JohnK Posted July 16, 2017 Share Posted July 16, 2017 From today I am getting a Blocked loading mixed active content message whenever the page uses an external url and var s = document.createElement("script"); s.src = url; document.head.appendChild(s); This affects a number of PGs including, among others, Jerome's dynamic terrain PGs. This seems to be because the playground is now delivering all pages using https. Is this a recent change? When this happens the PG can be unblocked using the lock icon next to the PG address. This is annoying. If security demands https then in future all demonstrations of new functions will require the direct placement of the new functions as code within the PG editor, Can this decision to deliver all PG pages by https be reversed or are security concerns such that delivery for all PGs must now use https? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 17, 2017 Share Posted July 17, 2017 Hello John, if you are in https mode, the best option is to load your urls from a https source as well: https://www.babylonjs-playground.com/#12CWQQ#52 Script appending is not blocked but https requires to load data from https only. We moved to https because the web is clearly moving to https as a whole. Google gives you better SEO if you are on https for instance Quote Link to comment Share on other sites More sharing options...
JohnK Posted July 17, 2017 Author Share Posted July 17, 2017 Thanks for the info. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted July 17, 2017 Share Posted July 17, 2017 Ok, I probably will need to had some Let's Encrypt certificate to my own site then. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.