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的原創文章,盡在:“汪子熙”:
總結
以上是生活随笔為你收集整理的Chrome Elements 标签页 和 View Source 的显示为什么有差异的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: switch金手指怎么用
- 下一篇: Chrome View Source C