The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
It appears Canvas has made changes to what javascript is allowed to do. I used to upload my files which consisted of practice lesson pages and answer pages. Students could then select radio buttons for each numbered question and, when done, could click a "Score Analysis" button and/or "View Correct Answers" button and see the results on a separate web page. This no longer works and I can't seem to fix it.
Searching online it appears Canvas does make decisions regarding javascripting and other scripting styles they don't share with their end users! It is always best to ask instructors what they want and need before unilaterally cutting services, don'tcha think?
Is this the case with javascript, Canvas? Have you disallowed one page from calling up another, such as my lessons need, all in the name of Internet security? If so, can you throttle back a bit so I can again use the practice pages I took so long to create with my students?
I don't know if as a workaround, you could upload and host your HTML files on another site (for example Github Pages are free), and then embed (iframe) or link to each HTML file from within Canvas. More info on using iframe to embed a web page: https://helpdesk.fau.edu/TDClient/2061/Portal/KB/ArticleDet?ID=158348
Hi Bruni
Is the Javascript stored in a <script> tag in a 'Page'?
What is the Javascript used to generate the "Score Analysis", and how does the "View Correct Answers" button function? Is it opening a new window? A tab? An iFrame?
I completely get the frustration mind! But a bit more information would be helpful to try and work out the problem.
Cheers!
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in