OSETC TECH

firefox:Global extension installation doesn’t work with option “-install-global-extension”

Q: when I run the firefox application with the “-install-global-extention” <path-to-extention>\extname.xpi” option in command line interface,but when I do this, firefox starts and but nothing else happens. firefox global extension installation doesn’t work with the option “-install-global-extension“.

For Mozilla offical site, got the information that The -install-global-extension and -install-global-theme command line options have been removed. Handling global installation has always been complicated.if you want to install extensions for information on ways to automatically install add-ons, you can have refer the below ways for different OS.

​Windows

To install an extension just for a specific Windows user account, place it in that user’s application folder hierarchy:

%appdata%\<vendor>\Extensions\<appid>\

%appdata% is a system variable pointing to C:\Documents and Settings\Dave\Application Data\ or C:\Users\Dave\AppData\Roaming\, depending on the Windows version.

For Firefox, this means:

%appdata%\Mozilla\Extensions\{ec8030f7-c20a-464f-9b0e-13a3a9e97384}\

OS X

To install an extension to be used by all users on OS X, copy it to:

/Library/Application Support/<vendor>/Extensions/<appid>/

To install an extension just for a specific user, place it in that user’s library folder hierarchy:

~/Library/Application Support/<vendor>/Extensions/<appid>/

Linux

To install an extension to be used by all users on Linux, copy it to:

/usr/lib/<vendor>/extensions/<appid>/

Or…

/usr/lib64/<vendor>/extensions/<appid>/

Or…

/usr/share/<vendor>/extensions/<appid>/

To install an extension just for a specific user:

~/.<vendor>/extensions/<appid>/