Home >Topic List >How to close the window opened by window.open

How to close the window opened by window.open

Methods to close an open window: 1. Use "window.close" to close the new window; 2. Use "window.location" to redirect; 3. Use "window.blur" and "window.focus"; 4. Use "window. .history" fallback; 5. Use "window.opener". If you want to know more details about how to close the window opened by window.open, you can visit the following article.