Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firebreath dll working in firefox 28 extension not firefox 33?

more options

i have done to create a add on for chrome and firefox.i did call a firebreath dll in js file.it works fine in firefox 28.But in firefox 33 throws exception to get a firebreath fuction call.after i did check again it in firefox 28.it works.

function ngPlugin() {

       try
       {
               ngPluginObj = document.getElementById('myfirebreath');
              return ngPluginObj;
       }
       catch (ErrorMessage)
       {
       }

} fuction call:

var retval = ngPlugin().myfunction(TextClass,userId,toUserId,toUserIdLength); the exception is,

TypeError: ngPlugin(...).myfunction is not a function So whats the actual problem?How can resolve this?

note:I already check script loading or not.Script loading.the only problem is NPAPI firebreath dll function calling.

i have done to create a add on for chrome and firefox.i did call a firebreath dll in js file.it works fine in firefox 28.But in firefox 33 throws exception to get a firebreath fuction call.after i did check again it in firefox 28.it works. function ngPlugin() { try { ngPluginObj = document.getElementById('myfirebreath'); return ngPluginObj; } catch (ErrorMessage) { } } fuction call: var retval = ngPlugin().myfunction(TextClass,userId,toUserId,toUserIdLength); the exception is, TypeError: ngPlugin(...).myfunction is not a function So whats the actual problem?How can resolve this? note:I already check script loading or not.Script loading.the only problem is NPAPI firebreath dll function calling.

所有回覆 (6)

more options

Does Firefox find that element if you run this code in the Web Console (Firefox/Tools > Web Developer)?

ngPluginObj = document.getElementById('myfirebreath');

Do you see the add-on enabled in "Firefox/Tools > Add-ons"

more options

Yes...its enabled and the ngPluginObj = document.getElementById('myfirebreath') fuction returns object HTMLEmbedElement.

由 bala_theboss 於 修改

more options

So, it looks that the extension isn't working properly and attaches itself to the links.

Any errors in the Browser Console (Firefox/Tools > Web Developer) about the extension?

more options

Thanks for your reply.but without firebreath dll call,the extension works fine.And also it works fine in firefox v28 with firebreath calling.Why not working in firefox v33?

more options

Anybody there?

more options

FireBreath is not a Mozilla project, nor it is connected directly to Firefox. http://www.firebreath.org/display/documentation/About+FireBreath

The FireBreath home page is here: http://www.firebreath.org/display/documentation/FireBreath+Home

The landing page for Building FireBreath Plugins on Windows is here: http://www.firebreath.org/display/documentation/Building+on+Windows

http://www.firebreath.org/display/documentation/FireBreath+Home

There is a Report Issues area for FireBreath over here: http://jira.firebreath.org/secure/Dashboard.jspa