搜尋 Mozilla 技術支援網站

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

了解更多

how can i get system information in extensions ?

  • 2 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

hi i am developing an extension and i want get the system information Like RAM size And CPU type and model

is this possible ? how can do it ?

hi i am developing an extension and i want get the system information Like RAM size And CPU type and model is this possible ? how can do it ?

所有回覆 (2)

more options
more options

Normally WebExtensions can only access content on web pages and not other Firefox data like preference settings. What you want is information that is from outside Firefox and that would require special techniques to communicate with an external program. There are extensions that can pass information to an external application like download managers and extensions that open pages in another browser, but I don't know if there is a way to pass that information back to the extension.

This is really outside the scope of this forum and you will have to check out the Add-ons forum website as posted above (I noticed that the above reply is marked as unhelpful).

See also: