为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firebreath dll working in firefox 28 extension not firefox 33?

  • 6 个回答
  • 2 人有此问题
  • 2 次查看
  • 最后回复者为 the-edmeister

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