2013-02-20 46 views

回答

0

要找出當前選項卡的一個Firefox插件的網址,你可以這樣做:

var localString = gBrowser.currentURI.spec; 

然後你就可以解析localString你想要的方式。