Thursday, March 14, 2019

View Source of different browsers


Sometime you are not able to use the View Source function from the context menu of the browser. Some web pages may purposely disable the context menu.

Through the browser's Developer Tools, you will be able to "View Source" for any pages.

Similar Developer Tools are available in the major browsers:
  • Goolge Chrome: Click on the Vertical Ellipsis icon and select More tools/Developer tools
  • Firefox: Click on the Open Menu icon and select Web Developer
  • IE: Click on the Gear icon and select F12 Developer Tools
After the Developer Tools are opened, select the Network tab. You may need to click on the Record icon if there is one.

Reload the web page.

You will see the requests being sent to the server. Find the one whose URL is that you are looking for and click on it to see the details.

Select the Response (or Response Body) tab in the details. The source code of the web page is there.

No comments:

 
Get This <