My goal is to create a new window pop-up using the window.open
method that prevents the user from using the parent window until the child window is closed. I want to restrict the user's ability to switch back to the parent window while the child window is open.
Can anyone provide guidance on how to achieve this using JavaScript?