The Mode window provided by IE has a very good application in the data input window and Wizard functions. However, due to some security restrictions, debugging scripts in the modal window becomes very depressing. Because the modal window does not support object selection and context menu, it is inconvenient for us to view html code. Is there any solution?
Although we can use a normal IE window to access its content and debug scripts when creating pages in the modal window. However, after my page is complete, loaded into the modal window, and dependent on a series of input data, we need to debug it, it becomes very inconvenient. If we do not want to write a lot of test code on the page loaded in the modal window, we can only see the html code in the debugger (such as script debugger and vs.net.
As we mentioned earlier, IE automatically shields the selection and right-click menu functions for modal windows. However, the context menu can be used in the INPUT type = text and TEXTAREA elements. For example:
Some time ago, I recommended a feature extension for IE: "I recommend a Full Source feature extension for IE".
This extended feature was originally used to add a "Full Source" feature to the context menu on the webpage, but it is very interesting that, this "Full Source" extension will also be injected into the context menu. For example:
In this way, it is very easy to view the html source code of the page in the modal window ~~