Command line arguments - Mozilla
Berikut adalah beberapa command line arguments yg dipakai di Mozilla:
| 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 a given profile name (profile name is case sensitive). | firefox.exe -P “Syahid Sabiq” |
| <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 |
| no-remote | Enables Firefox to run with multiple profiles; used with -P. Firefox 2 and later. | firefox.exe -no-remote |
| height <value> | Sets height of the startup window to <value>. | firefox.exe -height 600 |
| width <value> | Sets width of the startup window to <value>. | firefox.exe -width 800 |
| ProfileManager | Starts with Profile Manager. | firefox.exe -ProfileManager |
| CreateProfile | Create a new profile | firefox -CreateProfile test |
| console | Starts Firefox with a debugging console. | firefox.exe -console |
| jsconsole | Starts with Javascript Console. | firefox.exe -jsconsole |
| inspector <url> | Starts with the DOM Inspector. | firefox.exe -inspector http://www.google.com/ |
| chrome <url> | Loads the specified chrome. | firefox.exe -chrome chrome://inspector/content/inspector.xul |
| new-window <url> | Loads a URL in a new browser window. | firefox.exe -new-window <url> |
| new-tab <url> | Loads a URL in a new tab. | firefox.exe -new-tab <url> |
| install-global-extension “<path>” | Installs an extension globally. | firefox.exe -install-global-extension “C:\Temp\extension-file.xpi” |

Leave a Reply