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