Chrome Elements 標籤頁 和 View Source 的顯示爲什麼有差異

我發現的問題,meta 標籤在 Chrome 開發者工具 Elements 面板裏存在:

但是在 view source 裏沒有:

搜索 StackOverflow,有人遇到了同樣的問題。

https://stackoverflow.com/questions/5572297/chrome-inspect-element-vs-view-source

4

View Source in Chrome sends another request for the file, and since it's not authenticated, it returns the source of the login page. This is different from the way say IE works, where the source is cached and returned when you try to view it.

Inspect Element shows the current DOM's snapshot data. This is what you got from making your initial, authenticated request. So yes, this is the "correct" one.

根據回覆,以我們在 Inspect Element 裏看到的爲準。

更多Jerry的原創文章,盡在:"汪子熙":


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章