Firefox extension: What operating system is running?

1149035 pts.
Tags:
Firefox
Operating systems
For a Firefox extension, is there a way for me to find out which operating system Firefox is running on? Is there possibly a script for this?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can probably use the XPCOM interface.

Take a look at this documentation article, which includes an example to display the user’s operating system in an alert box:

nsIXULRuntime

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: