How to freely view the HTML source code in the IE mode window _ javascript skills

Source: Internet
Author: User
In the IE mode window, you can freely view the HTML source code. 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 ~~
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.