SyntaxFix
Write A Post
Hire A Developer
Questions
You can do
window.close(); window.open("index.html");
and it worked successfully on my website.