Firefox的API - 从我的程序访问 [英] Firefox api - access from my program

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

问题描述

是否可以从我的程序访问Firefox信息?具体我需要在活动标签中阅读已打开的网站的URL。是这样的可能吗?



我想我可以写扩展名,这将允许我做这样的事情,但我想知道是否是可行的一些FF api ...

解决方案

使用其他东西)从远程登录。然后,您可以使用AutoHotkey访问telnet 或通过你自己的程序,并获得当前的网址。

看来你也可以访问Firefox的网址 via DDE


Is it possible to access Firefox info from my program? Specificly I need to read URL of opened site in active tab. Is something like this possible?

I guess I can write extension that will allow me to do something like this, but I wanted to know if it is posible with some FF api...

解决方案

Using the MozRepl Firefox extension you can read the current Firefox url (among other things) from telnet. You could then use AutoHotkey to access telnet or via your own program and get the current url.

It seems you can also access the Firefox url via DDE

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

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