How can I get the source code of a webpage from the code? (Similar to chrome's developer tools)

Source: Internet
Author: User
Tags chrome developer
How can I get the source code of the webpage from the code? (Similar to chrome's developer tools) they want to search web content, such as capturing the source code to the memory, and then making a keyword search. However, there are a lot of Web pages that directly check the source code and have no body content. using the chrome developer tool, I found that some PHP pages actually contain content. how can I obtain these PHP pages? Then obtain the body content of these PHP pages. How can I get the source code of the webpage from the code? (Similar to chrome's developer tools)
I want to search the webpage content. for example, I want to capture the source code to the memory and then perform a keyword search.

However, there are a lot of Web pages that directly check the source code and have no body content. using the chrome developer tool, I found that some PHP pages actually contain content. how can I obtain these PHP pages? Then obtain the body content of these PHP pages.

There is no concept at all. Direction ~~ What technology is used? How is chrome implemented? Preferably the C ++ Standard

------ Solution --------------------
No way for the moment, you can only right-click the source code to see
------ Solution --------------------
You can only capture the final HTML source code.
------ Solution --------------------
Can chrome capture the server code ??
------ Solution --------------------
What do you mean by capturing php content? Impossible.

Or the final html code?
------ Solution --------------------
What we caught is html, because the browser needs to present these things. of course, these things will be parsed (or pass by without any help)
You can simulate browser parsing or develop a browser plug-in... (well, I only think of this)
------ Solution --------------------
Php Server source code
What security is there!
It was resolved!

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.