-
Eduardo Sanz García authored
I believe it would be faster to rely on `DOMContentLoaded` event (`isDocumentReady` function). This event triggers when the DOM is fully loaded and parsed but without waiting for the stylesheets, images, and subframes to finish loading [1]. [1] https://developer.mozilla.org/en-US/docs/Web/API/Document/DOMContentLoaded_event
17257ef3