Not able to open developer tools on a Modal dialog

2019-04-18 04:22发布

问题:

Not able to open developer tools on a Modal dialog in IE11 on windows 10. Recently I upgraded to Windows10, I have done the attached settings in my IE but still it is not working.

回答1:

Open DevTools -> Console in the main window and run the following command:

window.showModalDialog = window.open

It will force browser to open all modal dialogs in a regular window.



回答2:

The question seems to have been answered elsewhere. Interestingly asked by @vijaykandady on the other forum as well around the same date and marked as solved.

Pasting a screenshot of the accepted solution from that forum.



回答3:

Can you try running IE11 with add-ons disabled as this link suggests?

  • Right-click on Start
  • Left-click on Run
  • In the Run dialog type iexplore.exe -extoff then click OK
  • This opens IE with ad-ons disabled. Close the alert that pops up at bottom, the in the address bar enter a website to go to, then try press F12 again to see whether it opens properly. If it does, then you could open a normal Internet Explorer, and click Tools > Manage Add-ons and disable all you have then one by one enable them and test whether Developer Tool still works, to figure out which one is causing the issue.

https://www.windows10forums.com/threads/ie11-f12-developer-tools-not-show-properly.10199/