Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Can I embed an external js file?

  • 1 reply
  • 5 have this problem
  • 27 views
  • Last reply by alanmoo

more options

I was trying to make a tutorial about how to make a GeoGebra webpage by embedding the JavaScript API provided by GeoGebra.

What I did was to include the following code in my index.html file:

<script src="http://www.geogebratube.org/scripts/deployggb.js"></script>

but it didn't work.

I have to copy the entire deployggb.js file, and make it a local one to make it work. See: https://d157rqmxrxj6ey.cloudfront.net/pegasusroe/38459/

Does Thimble support external js files?

I was trying to make a tutorial about how to make a GeoGebra webpage by embedding the JavaScript API provided by GeoGebra. What I did was to include the following code in my index.html file: <script src="http://www.geogebratube.org/scripts/deployggb.js"></script> but it didn't work. I have to copy the entire deployggb.js file, and make it a local one to make it work. See: https://d157rqmxrxj6ey.cloudfront.net/pegasusroe/38459/ Does Thimble support external js files?

Chosen solution

Thimble does support external js files, but they have to be loaded securely. That means the server they're hosted on has to support https and the url used as the `src` needs to start with `https` as well.

Read this answer in context 👍 3

All Replies (1)

more options

Chosen Solution

Thimble does support external js files, but they have to be loaded securely. That means the server they're hosted on has to support https and the url used as the `src` needs to start with `https` as well.