Firefox Live DOM [英] Firefox Live DOM

查看:96
本文介绍了Firefox Live DOM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过插件或设置或Firefox来识别实时DOM源代码?



基本上,firebug或其他类似工具可以识别元素Firefox没有的页面。



我了解这些扩展程序,我有能力看到javascript所做的这样的更改,但Firefox似乎没有完全识别它们。 / p>

我会尝试澄清。



如果我加载一个页面并查看source(ctrl-U),我看到服务器发送到Firefox,以及Firefox表面上识别为页面的源代码。如果在那个源代码中,有javascript改变了DOM,然后我再次点击(ctrl-U),代码没有更新。



我正在使用测试工具(iMacros firefox plugin)来自动化功能,但由于Firefox没有,它不能识别更新的DOM。 Firebug和类似的工具可以识别这些实时更新。这是否有帮助?

解决方案

我仍然不确定我明白你的问题,但我认为你会得到什么FireFox的 Web Developer 扩展版,特别是其查看生成源功能。



这将让您看到更改的DOM。


Is it possible through a plugin or setting or something to allow Firefox to recognize the live DOM source code?

Basically, firebug or other similar tools can recognize elements on the page which Firefox does not.

I understand with these extensions I have the ability to see such changes made by javascript, but Firefox does not seem to fully recognize them.

I'll try to clarify.

If I load a page and view source (ctrl-U), I see what the server sent to Firefox, and what Firefox ostensibly recognizes as the source code of the page. If in that source code, there is javascript which alters the DOM, and then I hit (ctrl-U) again, the code is not updated.

I am using a testing tool (iMacros firefox plugin) to automate functionality, but it does not recognize the updated DOM because Firefox does not. Firebug and similar tools can recognize these "live" updates. Does that help?

解决方案

I'm still not sure I understand your question, but I think what you're getting at is the Web Developer extension for FireFox, specifically its "View Generated Source" feature.

That will let you see the altered DOM.

这篇关于Firefox Live DOM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆