Is “Page Source” BEFORE or AFTER JavaScript has been rendered?

前端 未结 4 1192
逝去的感伤
逝去的感伤 2020-12-18 20:26

In Firefox there is a menu item that displays \"Page Source\": View | Page Source (Ctrl+U). In Internet Explorer there is a similar function.

When you invoke it, it

4条回答
  •  长情又很酷
    2020-12-18 21:23

    It is the source that was returned to the browser by the server, before DOM updates made through javascript.

提交回复
热议问题