在Firefox中获取地址信息 [英] Get Address info in firefox

查看:80
本文介绍了在Firefox中获取地址信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论如何都要在firefox中获取当前页面的地址?是否有任何Gecko包装器?
C ++?

Is there anyway to get the address of current page in firefox? is there any Gecko wrapper for
C++?

推荐答案

Gecko是布局引擎http://en.wikipedia.org/wiki/Gecko_%28layout_engine%29 [ ^ ]。



这意味着,与浏览器窗口相关的功能,它们的激活和布局是在Gecko 之外,在使用Gecko或其他引擎的浏览器中实现的。



您的问题在以下方面确实没有意义:Firefox已经创建。在内部,它已经具备处理页面所需的所有机制,等等。您真的需要描述可能与现有Firefox协作的应用程序类型,但我怀疑它可能有意义。无论如何,如果你想使用Gecko,你可以使用你需要的功能实现自己的浏览器。



问题的第二部分,关于包装,使得不太感觉: Gecko已经用C ++编写,因此不需要包装。请参阅上面引用的文章。



-SA
Gecko is a layout engine: http://en.wikipedia.org/wiki/Gecko_%28layout_engine%29[^].

It means, the functionality related to the browser windows, their activation and layout is implemented outside of Gecko, in a browser using Gecko or other engine.

Your question does not really make sense, in the following aspect: Firefox is already created. Internally, it already has all the required mechanisms to deal with pages, and so on. You really need to describe the type of application which could possibly collaborate with existing Firefox, but I doubt it may make sense. Anyway, if you wanted to use Gecko, you would implement your own browser with features you need.

And the second part of the question, about a wrapper, makes even less sense: Gecko is already written in C++, so no wrapper is needed. Please see the article referenced above.

—SA


这篇关于在Firefox中获取地址信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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