https://propowertoolreviews.blogspot.com/2023/10/how-do-i-run-function-after-calling.html
How Do I Run A Function After A Calling Window.location.href?