I am looking for some way to execute a certain function, only when the page is 100% loaded, I already tested the document.addEventListener("DOMContentLoaded"
document.addEventListener("DOMContentLoaded"