Javascript: Wait until all rendered

PHOTO EMBED

Sat Dec 09 2023 15:23:14 GMT+0000 (Coordinated Universal Time)

Saved by @marcopinero #javascript

document.onreadystatechange = function () {
  if (document.readyState === "complete") {
    // Here fire whatever you want when all rendered
  }
}
content_copyCOPY