小编cod*_*der的帖子

Firefox扩展开发:获取新标签的URL

任何人都可以告诉我如何在Firefox上获取下一个选项卡的URl?我现在正在使用它:

//The browser object points to the new tab which I capture using the
//'TabOpen' Event
var browser = gBrowser.getBrowserForTab(event.target);

//From where can I get the URL of this new tab ? Also, how to I get
//the Title of this new Tab
Run Code Online (Sandbox Code Playgroud)

提前致谢..

firefox-addon

2
推荐指数
1
解决办法
3955
查看次数

标签 统计

firefox-addon ×1