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

前端 未结 4 1169
逝去的感伤
逝去的感伤 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:17

    The "View Source" code is the code before any JavaScript is applied.

    Firefox's Web Dev toolbar will allow you to view the resulting post-JavaScript source code from the View Source > View Generated Source menu option.

提交回复
热议问题