搜尋 Mozilla 技術支援網站

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

了解更多

Please solve this problem

  • 2 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 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");

所有回覆 (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/

由 James 於 修改