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

Please solve this problem

  • 2 replies
  • 1 has this problem
  • 10 views
  • Last reply by 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/

Modified by James