As you can read here, Window.showModalDialog () is deprecated and Chrome doesn’t support it anymore from version 37 and has been completely removed from version 43. Use Bootstrap Modal instead or, if too expensive to change, try this library, that is a window.showModalDialog polyfill Share
Is the window.showmodaldialog function deprecated in chrome?
Introduction. The window.showModalDialog function has been deprecated and removed from web settings. While some browsers may still support it, it is being phased out. Do not use this on old or new commissions. Or web application pages using the Website may be interrupted at any time. When we all use Windows. A script is often used to view the results in Chrome.
Why is window.showmodaldialog not modal in chrome?
Essentially, the window displayed by Chrome is modeless (see Chromium bug #16045), which means that the user can interact with the original window before talking to the modal dialog that navigates to the maximum target.
Why is window.showmodaldialog not working in chrome?
Please provide our company with any other product that can solve the problem. As you can read here, Window.() showmodaldialog is simply deprecated and no longer supported by Chrome as of version 37 and removed completely as of version 43.
Can a window.showmodaldialog be replaced with window.open?
But with some limitations, window.showModalDialog can help by replacing the window.open plan. To implement the functionality to get the return value from the dialog box, JavaScript execution must be split into two separate phases. Stage 1: Waiting for JavaScript to run. A dialog box will open.
How to replace window.showmodaldialog in Firefox and chrome?
Depending on your account, as far as I know in Chrome, Firefox doesn’t support showmodaldialog as soon as possible, so I suggest you use window.open() dialog or jQuery UI if you want to replace it. Here are some of those methods, please check: https://www.codeproject.com/Tips/1160313/Script-for-Popup-in-Chrome-Replacement-of-window
How to use window.showmodaldialog in Google Chrome?
To use the current showModalDialog method, simply call it with a URL. This will re-open the modal dialog with Google loaded. This in itself is not so simple. Usually, when you display another modal dialog, you want to extract some information from it.

Vijay is a tech writer with years of experience in the Windows world. He’s seen it all – from simple problems to catastrophic system failures. He loves nothing more than helping people fix their PCs, and he’s always happy to share his wisdom with anyone who needs it.
When Vijay isn’t fixing Windows problems, he likes to spend time with his wife and two young children. He also enjoys reading, playing cricket, and watching Bollywood movies.