搜尋 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