Ubuntu – Invoke a Firefox addon using a command

firefoxplugins

Is it possible to engage an addon using an external command?

Best Answer

The Chatzilla URL is chrome://chatzilla/content/chatzilla.xul. To open just that window and not the browser itself, use the -chrome option. -no-remote is added to prevent an existing session being used.

The command for just starting Chatzilla becomes:

firefox -no-remote -chrome chrome://chatzilla/content/chatzilla.xul

If you've multiple profiles, specify the profile name too or the path to the profile:

firefox -no-remote -P default -chrome chrome://chatzilla/content/chatzilla.xul
firefox -no-remote -profile /path/to/profile -chrome chrome://chatzilla/content/chatzilla.xul

This may work for other add-ons as well, just look in the [profilefolder]/extensions/*/chrome.manifest file for possible URLs.

Related Question