Javascript – Can `window.onload` be made fault-tolerant? Is there a better alternative?
I am creating a webpage with multiple GeoGebra files embedded in it. That means I have, for each GeoGebra applet, a <div> element in the <body> with an associated script to configure it; and at the end of the <body>…