https://babycarseatsbest.blogspot.com/2024/06/call-javascript-function-before-page.html
Call Javascript Function Before Page Loads