What is the difference between “Source” and “Generated Source” in Firefox?
Please explain with example.
Edit: 3 July
Which source “Search engine” uses, Generated or before generated?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Source will show the source that the page was loaded with (served by the server).
Generated source will draw ‘source code’ from the current DOM elements, and therefore includes elements dynamically created by JavaScript.
For example, source would show:
and Generated Source would ‘draw’ the source at the time you click ‘View Generated Source’, after which the div’s contents have been changed, and you would see: