Command line arguments: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
({{prettytable}}; Upping External Link's header priority.)
Line 3: Line 3:
You can use command line arguments to bypass the [[Profile Manager]] and open a specific profile (if you have multiple profiles). You can also control how Mozilla Suite opens, which components open initially, and what the components do when they open.
You can use command line arguments to bypass the [[Profile Manager]] and open a specific profile (if you have multiple profiles). You can also control how Mozilla Suite opens, which components open initially, and what the components do when they open.


==Firefox Command line arguments (incomplete)==
==Command Line Arguments (incomplete)==
  {| border=1 cellspacing=0
  {| {{prettytable}}
  ! Command
  ! Command
  ! Result
  ! Result
Line 62: Line 62:
  |}
  |}


===External Links===
==External Links==
* [http://www.mozilla.org/docs/command-line-args.html Mozilla Suite's command line options]: some of these apply to Firefox and Thunderbird too. The page being outdated, some command line options may not work.
* [http://www.mozilla.org/docs/command-line-args.html Mozilla Suite's command line options]: some of these apply to Firefox and Thunderbird too. The page being outdated, some command line options may not work.
* [http://www.mozilla.org/projects/firefox/extensions/commandlineoptions.html Extensions Manager's command line options]: applies to Firefox, Thunderbird, and other applications that use the Extension Manager code in those two programs. (Does not apply to the Mozilla Suite.)
* [http://www.mozilla.org/projects/firefox/extensions/commandlineoptions.html Extensions Manager's command line options]: applies to Firefox, Thunderbird, and other applications that use the Extension Manager code in those two programs. (Does not apply to the Mozilla Suite.)

Revision as of 20:30, 18 July 2005

This also applies to Firefox and Thunderbird. However, some Mozilla Suite command line arguments may not work in Firefox or Thunderbird.

You can use command line arguments to bypass the Profile Manager and open a specific profile (if you have multiple profiles). You can also control how Mozilla Suite opens, which components open initially, and what the components do when they open.

Command Line Arguments (incomplete)

Command Result Example
profile "path" Starts firefox with profile located at path firefox.exe -profile "E:\myprofile"
p "profile name" Starts firefox with the profile of the given name. firefox.exe -p "JoelUser"
url Launches firefox and opens the given url firefox.exe "www.mozilla.org"
safe-mode Launches firefox without loading extensions firefox.exe -safe-mode
height <value> Set height of startup window to <value> firefox.exe -height 600
width <value> Set width of startup window to <value> firefox.exe -width 800
ProfileManager Start with profile manager firefox.exe -ProfileManager
UILocale <locale> Start with <locale> resources as UI Locale firefox.exe -UILocale th-TH
contentLocale <locale> Start with <locale> resources as content Locale firefox.exe -contentLocale TH
console Start Mozilla with a debugging console firefox.exe -console
jsconsole Start with Javascript Console firefox.exe -jsconsole
inspector <url> Start with the DOM Inspector firefox.exe -inspector http://www.google.com/
chrome <url> Load the specified chrome firefox.exe -chrome chrome://inspector/content/inspector.xul

External Links