Command line arguments: Difference between revisions
From MozillaZine Knowledge Base
Jump to navigationJump to search
mNo edit summary |
(→Command Line Arguments (incomplete): Add open multiples pages in tabs) |
||
Line 8: | Line 8: | ||
|- | |- | ||
| profile "path" | | profile "path" | ||
| Starts firefox with profile located at path | | Starts firefox with profile located at the given path. | ||
| firefox.exe -profile "E:\myprofile" | | firefox.exe -profile "E:\myprofile" | ||
|- | |- | ||
Line 16: | Line 16: | ||
|- | |- | ||
| url | | url | ||
| Launches firefox and opens the given | | Launches firefox and opens the given URL(s). | ||
| firefox.exe "www.mozilla.org" | | firefox.exe <nowiki>"www.mozilla.org|www.mozillazine.org"</nowiki> | ||
|- | |- | ||
| safe-mode | | safe-mode | ||
| Launches firefox without loading extensions | | Launches firefox without loading extensions or themes. | ||
| firefox.exe -safe-mode | | firefox.exe -safe-mode | ||
|- | |- | ||
| height <value> | | height <value> | ||
| Set height of startup window to <value> | | Set height of startup window to <value>. | ||
| firefox.exe -height 600 | | firefox.exe -height 600 | ||
|- | |- | ||
| width <value> | | width <value> | ||
| Set width of startup window to <value> | | Set width of startup window to <value>. | ||
| firefox.exe -width 800 | | firefox.exe -width 800 | ||
|- | |- | ||
| ProfileManager | | ProfileManager | ||
| Start with | | Start with Profile Manager. | ||
| firefox.exe -ProfileManager | | firefox.exe -ProfileManager | ||
|- | |- | ||
| UILocale <locale> | | UILocale <locale> | ||
| Start with <locale> resources as UI Locale | | Start with <locale> resources as UI Locale. | ||
| firefox.exe -UILocale th-TH | | firefox.exe -UILocale th-TH | ||
|- | |- | ||
| contentLocale <locale> | | contentLocale <locale> | ||
| Start with <locale> resources as content Locale | | Start with <locale> resources as content Locale. | ||
| firefox.exe -contentLocale TH | | firefox.exe -contentLocale TH | ||
|- | |- | ||
| console | | console | ||
| Start Mozilla with a debugging console | | Start Mozilla with a debugging console. | ||
| firefox.exe -console | | firefox.exe -console | ||
|- | |- | ||
| jsconsole | | jsconsole | ||
| Start with Javascript Console | | Start with Javascript Console. | ||
| firefox.exe -jsconsole | | firefox.exe -jsconsole | ||
|- | |- | ||
| inspector <url> | | inspector <url> | ||
| Start with the DOM Inspector | | Start with the DOM Inspector. | ||
| firefox.exe -inspector http://www.google.com/ | | firefox.exe -inspector http://www.google.com/ | ||
|- | |- | ||
| chrome <url> | | chrome <url> | ||
| Load the specified chrome | | Load the specified chrome. | ||
| firefox.exe -chrome chrome://inspector/content/inspector.xul | | firefox.exe -chrome chrome://inspector/content/inspector.xul | ||
|- | |- | ||
| new | | new | ||
| Load a new browser window | | Load a new browser window. | ||
| firefox.exe -new | | firefox.exe -new | ||
|} | |} |
Revision as of 03:23, 9 October 2005
You can use command line arguments to change the way Firefox, Thunderbird, and Mozilla Suite start.
Command Line Arguments (incomplete)
Command | Result | Example |
---|---|---|
profile "path" | Starts firefox with profile located at the given 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(s). | firefox.exe "www.mozilla.org|www.mozillazine.org" |
safe-mode | Launches firefox without loading extensions or themes. | 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 |
new | Load a new browser window. | firefox.exe -new |
External Links
- 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.
- 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.)