This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

Please solve this problem

  • 2 amsoshi
  • 1 yana da wannan matsala
  • 10 views
  • Amsa ta ƙarshe daga James

more options

Visit this link https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes/Using_js-ctypes

I tried for windows that is fine

but now I am trying for Linux and facing some errors

details are bellow firefox 3.0.12

error is: failed to load ReferenceError: require is not defined in this line var {Cu} = require("chrome");

Visit this link https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes/Using_js-ctypes I tried for windows that is fine but now I am trying for Linux and facing some errors details are bellow firefox 3.0.12 error is: failed to load ReferenceError: require is not defined in this line var {Cu} = require("chrome");

All Replies (2)

more options

Hi

Thank you for your question, but this forum is more for the answering of front end user issues rather than programming support.

I recommend that you ask your question in the Stack Overflow community.

more options

Firefox 3.0.12 is rather ancient now as it came out way back on July 21, 2009

The Linux distro you have must be pretty old if you are using the Firefox version it came with. It likely will not run the more current Firefox versions like the Firefox 44.0 from www.mozilla.org/firefox/all/

An gyara daga James