美文网首页
Chrome Elements 标签页 和 View Sourc

Chrome Elements 标签页 和 View Sourc

作者: 华山令狐冲 | 来源:发表于2021-09-19 09:40 被阅读0次

我发现的问题,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 Sourc

      本文链接:https://www.haomeiwen.com/subject/qphjvltx.html