var exit = confirm("Do u want to close browser!");
if (exit) { window.close() }
else { }
If user clicks yes then i need to close browser but Window.close() is not working
its showing
"Scripts may close only the windows that were opened by it."
Its from Master page.
Is their any other way to close the browser with the help of javascript.
Bidyasagar MishraPosted Aug 23, 2019, 11:51 AM
Amit KumarPosted Apr 18, 2019, 12:09 AM
Abhishek MishraPosted Apr 18, 2019, 12:02 AM