almende / chap-links-library

a web based visualization library for displaying graphs, networks, and timelines
http://almende.github.com/chap-links-library
Apache License 2.0
599 stars 167 forks source link

Demo pages bug #338

Closed antonjuls closed 5 years ago

antonjuls commented 9 years ago

Please, fix bug with loading scripts on some demo pages. For example: https://almende.github.io/chap-links-library/js/graph/examples/example01_basis.html

Console output:

Mixed Content: The page at 'https://almende.github.io/chap-links-library/js/graph/examples/example01_basis.html' was loaded over HTTPS, but requested an insecure script 'http://www.google.com/jsapi'. This request has been blocked; the content must be served over HTTPS.
josdejong commented 9 years ago

Thanks.

You can just load the page without https: http://almende.github.io/chap-links-library/js/graph/examples/example01_basis.html

We could change the links to http://www.google.com/jsapi into //www.google.com/jsapi, so it automatically chooses either http or https, but then the examples will not work when opened directly from disk, like file:///path-to-graph/examples/example01_basis.html. That's event worse I think.