有没有办法在chrome中获取文档和窗口属性

有没有办法在chrome中获取文档和窗口属性

问题描述:

有没有办法在chrome开发工具箱中获取文档和窗口属性?

Is there a way to get document and window properties in the chrome developer toolbox?

我没有在开发工具箱的元素标签中看到它。在解决jquery.offset问题时,这将非常方便

I don't see it in the element tab of the developer toolbox. This would be really handy when troubleshooting jquery.offset problems

当然,我们不妨在firefox 4 +中讨论这个问题

While were at it we might as well discuss this in firefox 4+

谢谢

Thanks

尝试在控制台中输入内容:

Try typing in the console:

console.dir(window) //just "window" would work too
console.dir(document)