Начальная

Windows Commander

Far
WinNavigator
Frigate
Norton Commander
WinNC
Dos Navigator
Servant Salamander
Turbo Browser

Winamp, Skins, Plugins
Необходимые Утилиты
Текстовые редакторы
Юмор

File managers and best utilites

Command Line Options. Консоль браузера firefox


All keyboard shortcuts - Firefox Developer Tools

This page lists all keyboard shortcuts used by the developer tools built into Firefox.

The first section lists the shortcut for opening each tool and the second section lists shortcuts that are applicable to the Toolbox itself. After that there's one section for each tool, which lists the shortcuts that you can use within that tool.

Because access keys are locale-dependent, they're not documented in this page.

These shortcuts work in the main browser window to open the specified tool. For tools that are hosted in the Toolbox, they work to close the tool if it is active. For tools like the Browser Console that open in a new window, you have to close the window to close the tool.

Command Windows OS X Linux Open Toolbox (with the most recent tool activated) Bring Toolbox to foreground (if the Toolbox is in a separate window and not in foreground) Close Toolbox (if the Toolbox is in a separate window and in foreground) Open Web Console 1 Toggle Inspector Open Debugger Open Style Editor Open Profiler Open Network Monitor 2 Toggle Developer Toolbar Toggle Responsive Design Mode Open Browser Console 3
Open Browser Toolbox Open Scratchpad Open WebIDE Storage Inspector 4
Ctrl + Shift + I Cmd + Opt + I Ctrl + Shift + I
Ctrl + Shift + I or F12
Cmd + Opt + I or F12 Ctrl + Shift + I or F12
Ctrl + Shift + I or F12 Cmd + Opt + I or F12 Ctrl + Shift + I or F12
Ctrl + Shift + K Cmd + Opt + K Ctrl + Shift + K
Ctrl + Shift + I Cmd + Opt + I Ctrl + Shift + I
Ctrl + Shift + S Cmd + Opt + S Ctrl + Shift + S
Shift + F7 Shift + F7 1 Shift + F7
Shift + F5 Shift + F5 1 Shift + F5
Ctrl + Shift + E Cmd + Opt + E Ctrl + Shift + E
Shift + F2 Shift + F2 1 Shift + F2
Ctrl + Shift + M Cmd + Opt + M Ctrl + Shift + M
Ctrl + Shift + J Cmd + Shift + J Ctrl + Shift + J
Ctrl + Alt + Shift + I Cmd + Opt + Shift + I Ctrl + Alt + Shift + I
Shift + F4 Shift + F4 Shift + F4
Shift + F8 Shift + F8 Shift + F8
Shift + F9 Shift + F9 Shift + F9

1. Unlike the other toolbox-hosted tools, this shortcut does not also close the Web Console. Instead, it focuses on the Web Console's command line. To close the Web Console, use the global toolbox shortcut of Ctrl + Shift + I (Cmd + Opt + I on a Mac).

2. Before Firefox 55, the keyboard shortcut was Ctrl + Shift + Q (Cmd + Opt + Q on a Mac).

3. Until Firefox 38, when the Browser Console is hidden by a normal Firefox window, the same key combination closes the Browser Console. From Firefox 38 onwards, if the Browser Console is hidden by a normal Firefox window, this key combination brings the Browser Console back on top and focuses on it.

4. The tool is disabled by default, so the shortcut would not work until it is enabled from the Settings Panel

Source editor

This table lists the default shortcuts for the source editor.

In the Editor Preferences section of the developer tools settings, you can choose to use Vim, Emacs, or Sublime Text key bindings instead.

To select these, visit about:config, select the setting devtools.editor.keymap, and assign "vim" or "emacs", or "sublime" to that setting. If you do this, the selected bindings will be used for all the developer tools that use the source editor. You need to reopen the editor for the change to take effect.

From Firefox 33 onwards, the key binding preference is exposed in the Editor Preferences section of the developer tools settings, and you can set it there instead of about:config.

Command Windows OS X Linux Go to line Find in file Find again Select all Cut
Copy Paste Undo Redo Indent Unindent Move line(s) up Move line(s) down Comment/uncomment line(s)
Ctrl + J Cmd + J Ctrl + J
Ctrl + F Cmd + F Ctrl + F
Ctrl + G Cmd + G Ctrl + G
Ctrl + A Cmd + A Ctrl + A
Ctrl + X Cmd + X Ctrl + X
Ctrl + C Cmd + C Ctrl + C
Ctrl + V Cmd + V Ctrl + V
Ctrl + Z Cmd + Z Ctrl + Z
Ctrl + Shift + Z / Ctrl + Y Cmd + Shift + Z / Cmd + Y Ctrl + Shift + Z / Ctrl + Y
Tab Tab Tab
Shift + Tab Shift + Tab Shift + Tab
Alt + Up Alt + Up Alt + Up
Alt + Down Alt + Down Alt + Down
Ctrl + / Cmd + / Ctrl + /

Page Inspector

Command Windows OS X Linux Inspect Element
Ctrl + Shift + C Cmd + Opt + C Ctrl + Shift + C

Node picker

These shortcuts work while the node picker is active.

Command Windows OS X Linux Select the element under the mouse and cancel picker mode Select the element under the mouse and stay in picker mode (new in Firefox 52)
Click Click Click
Shift+Click
Shift+Click Shift+Click

HTML pane

These shortcuts work while you're in the Inspector's HTML pane.

Command Windows OS X Linux Delete the selected node Undo delete of a node Redo delete of a node Move to next node (expanded nodes only) Move to previous node Move to first node in the tree. Move to last node in the tree. Expand currently selected node Collapse currently selected node
(When a node is selected) move inside the node so you can start stepping through attributes. Step forward through the attributes of a node Step backward through the attributes of a node (When an attribute is selected) start editing the attribute Hide/show the selected node Focus on the search box in the HTML pane Edit as HTML Stop editing HTML Copy the selected node's outer HTML (new in Firefox 42). Scroll the selected node into view (new in Firefox 44). Find the next match in the markup, when searching is active Find the previous match in the markup, when searching is active (new in Firefox 48).
Delete Delete Delete
Ctrl + Z Cmd + Z Ctrl + Z
Ctrl + Shift + Z / Ctrl + Y Cmd + Shift + Z / Cmd + Y Ctrl + Shift + Z / Ctrl + Y
Down arrow Down arrow Down arrow
Up arrow Up arrow Up arrow
Home Home Home
End End End
Right arrow Right arrow Right arrow
Right arrow Right arrow Right arrow
Enter Return Enter
Tab Tab Tab
Shift + Tab Shift + Tab Shift + Tab
Enter Return Enter
H H H
Ctrl + F Cmd + F Ctrl + F
F2 F2 F2
F2 / Ctrl +Enter F2 / Ctrl + Return F2 / Ctrl + Enter
Ctrl + C Cmd + C Ctrl + C
S S S
Enter Return Enter
Shift + Enter
Shift + Return Shift + Enter

Breadcrumbs bar

These shortcuts work when the breadcrumbs bar is focused.

Command Windows OS X Linux Move to the previous element in the breadcrumbs bar  Move to the next element in the breadcrumbs bar  Focus the HTML pane Focus the CSS pane
Left arrow Left arrow Left arrow
Right arrow Right arrow Right arrow
Shift + Tab Shift + Tab Shift + Tab
Tab Tab Tab

CSS pane

These shortcuts work when you're in the Inspector's CSS pane.

Command Windows OS X Linux Focus on the search box in the CSS pane Clear search box content (only when the search box is focused, and content has been entered) Step forward through properties and values Step backward through properties and values Start editing property or value (Rules view only, when a property or value is selected, but not already being edited) Cycle up and down through auto-complete suggestions (Rules view only, when a property or value is being edited) Choose current auto-complete suggestion (Rules view only, when a property or value is being edited) Increment selected value by 1 Decrement selected value by 1 Increment selected value by 100 Decrement selected value by 100 Increment selected value by 10 Decrement selected value by 10 Increment selected value by 0.1 Decrement selected value by 0.1 Show/hide more information about current property (Computed view only, when a property is selected, new in Firefox 49). Open MDN reference page about current property (Computed view only, when a property is selected, new in Firefox 49). Open current CSS file in Style Editor (Computed view only, when more information is shown for a property and a CSS file reference is focused, new in Firefox 49).
Ctrl + F Cmd + F Ctrl + F
Esc Esc Esc
Tab Tab Tab
Shift + Tab
Shift + Tab Shift + Tab
Enter or Space Return or Space Enter or Space
Up arrow , Down arrow Up arrow , Down arrow Up arrow , Down arrow
Enter or Tab Return or Tab Enter or Tab
Up arrow Up arrow Up arrow
Down arrow Down arrow Down arrow
Shift + Page Up Shift + Page Up Shift + Page Up
Shift + Page Down Shift + Page Down Shift + Page Down
Shift + Up arrow Shift + Up arrow
Shift + Up arrow
Shift + Down arrow Shift + Down arrow Shift + Down arrow
Alt + Up arrow (Ctrl + Up arrow from Firefox 60 onwards.) Alt + Up arrow Alt + Up arrow (Ctrl + Up arrow from Firefox 60 onwards.)
Alt + Down arrow (Ctrl + Down arrow from Firefox 60 onwards). Alt + Down arrow Alt + Down arrow (Ctrl + Down arrow from Firefox 60 onwards).
Enter or Space Return or Space Enter or Space
F1 F1 F1
Enter Return Enter

Debugger

Debugger (Before Firefox 52)

Command Windows OS X Linux Open the Debugger Search in the current source using the script filter Find next in the current source Find previous in the current source Search in all sources using the script filter Search for scripts by name Search for function definitions Filter variables when execution is paused Resume execution when at a breakpoint Step over
Step into Step out Toggle breakpoint on the currently selected line Toggle conditional breakpoint on the currently selected line Add selected text to Watch expressions Go to line using the script filter Search using the script filter In the source pane, jump to a function definition (new in Firefox 44)
Ctrl + Shift + S Cmd + Opt + S Ctrl + Shift + S
Ctrl + F Cmd + F Ctrl + F
Enter / Up arrow Return / Up arrow Enter / Up arrow
Shift + Enter / Down arrow Shift + Return / Down arrow Shift + Enter / Down arrow
Ctrl + Alt + F Cmd + Opt + F Ctrl + Alt + F
Ctrl + P / Ctrl + O Cmd + P / Ctrl + O Ctrl + P / Ctrl + O
Ctrl + D Cmd + D Ctrl + D
Ctrl + Alt + V Cmd + Opt + V Ctrl + Alt + V
F8 F8 1 F8
F10 F10 1 F10
F11 F11 1 F11
Shift + F11 Shift + F11 1 Shift + F11
Ctrl + B Cmd + B Ctrl + B
Ctrl + Shift + B Cmd + Shift + B Ctrl + Shift + B
Ctrl + Shift + E Cmd + Shift + E Ctrl + Shift + E
Ctrl + L Cmd + L Ctrl + L
Ctrl + O Cmd + O Ctrl + O
Ctrl + click Cmd + click Ctrl + click

1. By default, on some Macs, the function key is remapped to use a special feature: for example, to change the screen brightness or the volume. See this guide to using these keys as standard function keys. To use a remapped key as a standard function key, hold the Function key down as well (so to open the Profiler, use Shift + Function + F5).

Web Console

Command Windows OS X Linux Open the Web Console Search in the message display pane Clear the object inspector pane Focus on the command line Clear output
Ctrl + Shift + K Cmd + Opt + K Ctrl + Shift + K
Ctrl + F Cmd + F Ctrl + F
Esc Esc Esc
Ctrl + Shift + K Cmd + Opt + K Ctrl + Shift + K

Ctrl + L

From Firefox 44:

Ctrl + Shift + L

Ctrl + L

Ctrl + L

From Firefox 44:

Ctrl + Shift + L

Command line interpreter

These shortcuts apply when you're in the command line interpreter.

Command Windows OS X Linux Scroll to start of console output (only if the command line is empty) Scroll to end of console output (only if the command line is empty) Page up through console output Page down through console output Go backward through command history Go forward through command history Move to the beginning of the line Move to the end of the line Execute the current expression Add a new line, for entering multiline expressions
Home Home Home
End End End
Page up Page up Page up
Page down Page down Page down
Up arrow Up arrow Up arrow
Down arrow Down arrow Down arrow
Home Ctrl + A Ctrl + A
End Ctrl + E Ctrl + E
Enter Return Enter
Shift + Enter Shift + Return Shift + Enter

These shortcuts apply while the autocomplete popup is open:

Command Windows OS X Linux Choose the current autocomplete suggestion Cancel the autocomplete popup Move to the previous autocomplete suggestion Move to the next autocomplete suggestion Page up through autocomplete suggestions Page down through autocomplete suggestions Scroll to start of autocomplete suggestions Scroll to end of autocomplete suggestions
Tab Tab Tab
Esc Esc Esc
Up arrow Up arrow Up arrow
Down arrow Down arrow Down arrow
Page up Page up Page up
Page down Page down Page down
Home Home Home
End End End

Style Editor

Command Windows OS X Linux Open the Style Editor Open autocomplete popup
Shift + F7 Shift + F7 Shift + F7
Ctrl + Space Cmd + Space Ctrl + Space

Scratchpad

Command Windows OS X Linux Open the Scratchpad Run Scratchpad code Run Scratchpad code, display the result in the object inspector Run Scratchpad code, insert the result as a comment Re-evaluate current function Reload the current page, then run Scratchpad code Save the pad Open an existing pad Create a new pad Close Scratchpad Pretty print the code in Scratchpad Show autocomplete suggestions Show inline documentation
Shift + F4 Shift + F4 Shift + F4
Ctrl + R Cmd + R Ctrl + R
Ctrl + I Cmd + I Ctrl + I
Ctrl + L Cmd + L Ctrl + L
Ctrl + E Cmd + E Ctrl + E
Ctrl + Shift + R Cmd + Shift + R Ctrl + Shift + R
Ctrl + S Cmd + S Ctrl + S
Ctrl + O Cmd + O Ctrl + O
Ctrl + N Cmd + N Ctrl + N
Ctrl + W Cmd + W Ctrl + W
Ctrl + P Cmd + P Ctrl + P
Ctrl + Space Ctrl + Space Ctrl + Space
Ctrl + Shift + Space Ctrl + Shift + Space Ctrl + Shift + Space

Eyedropper

Command Windows OS X Linux Select the current color Dismiss the Eyedropper Move by 1 pixel Move by 10 pixels
Enter Return Enter
Esc Esc Esc
Arrow keys Arrow keys Arrow keys
Shift + arrow keys Shift + arrow keys Shift + arrow keys

developer.mozilla.org

Web Console Helpers - Firefox Developer Tools

The commands

The JavaScript command line provided by the Web Console offers a few built-in helper functions that make certain tasks easier.

$() Looks up a CSS selector string, returning the first element that matches. Equivalent to document.querySelector() or calls the $ function in the page, if it exists. $$() Looks up a CSS selector string, returning an array of DOM nodes that match. This is like for document.querySelectorAll(), but returns an array instead of a NodeList. $0 The currently-inspected element in the page. $_ Stores the result of the last expression executed in the console's command line. For example, if you type "2+2 <enter>", then "$_ <enter>", the console will print 4. $x() Evaluates an XPath expression and returns an array of matching nodes. keys() Given an object, returns a list of the keys (or property names) on that object. This is a shortcut for Object.keys. values() Given an object, returns a list of the values on that object; serves as a companion to keys(). clear() Clears the console output area. inspect() Given an object, opens the object inspector for that object. pprint() Formats the specified value in a readable way; this is useful for dumping the contents of objects and arrays. help() Displays help text. Actually, in a delightful example of recursion, it will bring you to this page. cd()

Switch JavaScript evaluation context to a different iframe in the page. This helper accepts multiple different ways of identifying the frame to switch to. You can supply any of the following:

  • a selector string that will be passed to document.querySelector to locate the iframe element
  • the iframe element itself
  • the content window inside the iframe

See working with iframes.

copy() New in Firefox 38. Copy the argument to the clipboard. If the argument is a string, it's copied as-is. If the argument is a DOM node, its outerHTML is copied. Otherwise, JSON.stringify will be called on the argument, and the result will be copied to the clipboard. clearHistory() New in Firefox 39. Just like a normal command line, the console command line remembers the commands you've typed. Use this function to clear the console's command history.

Please refer to the Console API for more information about logging from content.

Variables

tempN The "Use in Console" option in the Inspector generates a variable for a node named temp0, temp1, temp2, etc. referencing the node.

Examples

Looking at the contents of a DOM node

Let's say you have a DOM node with the ID "title". In fact, this page you're reading right now has one, so you can open up the Web Console and try this right now.

Let's take a look at the contents of that node by using the $() and inspect() functions:

inspect($("#title"))

This automatically opens up the object inspector, showing you the contents of the DOM node that matches the CSS selector "#title", which is of course the element with ID "title".

Dumping the contents of a DOM node

That's well and good if you happen to be sitting at the browser exhibiting some problem, but let's say you're debugging remotely for a user, and need a look at the contents of a node. You can have your user open up the Web Console and dump the contents of the node into the log, then copy and paste it into an email to you, using the pprint() function:

pprint($("#title"))

This spews out the contents of the node so you can take a look. Of course, this may be more useful with other objects than a DOM node, but you get the idea.

Document Tags and Contributors

 Contributors to this page: wbamberg, Sebastianz, Naesten, jryans, paulojackson42, myakura, Delapouite, Rcampbell, TTO, ethertank, JoeDrew, saneyuki_s, Steffen, Sheppy  Last updated by: wbamberg, Oct 17, 2016, 9:06:09 AM

developer.mozilla.org

Command Line Options - Mozilla

Command line options are used to specify various startup options for Mozilla applications. For example, you can use command line configuration options to bypass the Profile Manager and open a specific profile (if you have multiple profiles). You can also control how Mozilla applications open, which components open initially, and what the components do when they open. This page describes the commonly used options and how to use them. You can open the Command Line Interface by pressing Shift + F2.

Syntax Rules

But first, let's describe the syntax rules that apply for all options.

  • Command parameters containing spaces must be enclosed in quotes; for example, "Joel User".
  • Command actions are not case sensitive.
  • Command parameters except profile names are not case sensitive.
  • Blank spaces ( ) separate commands and parameters.
  • Each message option follows the syntax field=value, for example:
    • [email protected]
    • subject=cool page
    • attachment=www.mozilla.org
    • attachment='file:///c:/test.txt'
    • body=check this page or also in Thunderbird 52 and newer: body=c:\path\to\file.txt
  • Multiple message options are separated by comma (,), for example: "[email protected],subject=cool page" . Comma separators must not follow or precede spaces ( ). To assign multiple values to a field, enclose the values in single quotes ('), for example: "to='[email protected],[email protected]',subject=cool page" .

Using command line options

Command line options are entered after the command to start the application. Some options have arguments. These are entered after the command line option. Some options have abbreviations. For example, the command line option "-editor" can be abbreviated as "-edit". (Where abbreviations are available, they are described in the text below.) In some cases option arguments must be enclosed in quotation marks. (This is noted in the option descriptions below.) Multiple command line options can be specified. In general, the syntax is as follows:

application -option -option "argument" -option argument

Examples

The following examples show the use of the "-ProfileManager" command, which will open the Profile Manager prior to starting Firefox or Thunderbird:

Windows

Select Run from Windows Start menu. Type:

firefox -ProfileManager
Mac OS X

Go to Applications > Utilities. Open Terminal and type:

cd /Applications/Firefox.app/Contents/MacOS ./firefox -ProfileManager

If you use Firefox Nightly, you can type:

cd /Applications/FirefoxNightly.app/Contents/MacOS ./firefox -ProfileManager
Linux

Open Terminal and type:

cd Thunderbird installation directory ./thunderbird -ProfileManager

The example above invokes the "-ProfileManager" command line option with Mozilla's Thunderbird mail client.

User Profile

-CreateProfile profile_name

Create a new profile in the default directory, but do not start application. The profile will be named profile_name in the profile manager. profile_name must not contain spaces ( ). To use this successfully no instance of the application must be running, or the -no-remote options must be used.

firefox -CreateProfile JoelUser

-CreateProfile "profile_name profile_dir"

Creates a new profile in the profile_dir directory, but do not start application. The profile will be named profile_name in the profile manager. Note profile_name and profile_dir are quoted together, and are separated by exactly 1 space (as with the previous syntax, profile_name must not contain spaces).

To use this successfully no instance of the application must be running, or the -no-remote options must be used.

NOTE: profile_dir must not exist and you must not already have a profile called profile_name.

firefox -CreateProfile "JoelUser c:\internet\joelusers-moz-profile"

-migration

Start with Import Wizard.

-new-instance

Open new instance, not a new window in running instance, which allows multiple copies of application to be open at a time.

firefox -new-instance -P "Another Profile"

-no-remote

Do not accept or send remote commands; implies -new-instance.

firefox -no-remote -P "Another Profile" Note: Since Firefox 9, this does really mean what its name implies on all platforms, i.e. instances created with this parameter do not accept or send remote commands, see bug 650078. That means that such instances won't be re-used. Also when using this argument a new instance is created in any case.

-override /path/to/override.ini

Load the specified override.ini file to override application.ini (browser/app/application.ini). This can be used to suppress the Migration Wizard at startup by loading the following override.ini. Firefox only.

[XRE] EnableProfileMigrator=0

-ProfileManager

Start with Profile Manager. Short form: -P without a profile name.

-P "profile_name"

Bypass Profile Manager and launch application with the profile named profile_name. Useful for dealing with multiple profiles. Note profile_name is case sensitive. If you don't specify a profile name then the profile manager is opened instead. You must use an upper case P on Linux with versions older than 7.x, as there lower case invokes Purify mode (memory and leak detection). Other platforms accept both upper and lower case.

firefox -P "Joel User"

-profile "profile_path"

Start with the profile with the given path. Firefox, Thunderbird and SeaMonkey2.x only.

"profile_path" can either be an absolute path ("/path/to/profile") or a relative path ("path/to/profile").

Note: On Mac OS X specifying a relative path is not supported anymore from Firefox 4.0 and up due to a regression, see bug 673955.

Browser

-browser

Start with the browser component. Firefox and SeaMonkey only.

-foreground

Make this instance the active application.

-headless

Runs Firefox in headless mode, which is very useful for purposes such as debugging and automated testing. Available in Firefox 55+ on Linux, and Firefox 56+ on Windows/Mac OS X.

-new-tab URL

Open URL in a new tab. Firefox and SeaMonkey2.x only.

-new-window URL

Open URL in a new window. Firefox and SeaMonkey2.x only.

-preferences

Open Options/Preferences window. Firefox and SeaMonkey2.x only.

-private

Opens Firefox in permanent private browsing mode. Firefox 3.6 and later only.

May not be applicable in older Ubuntu for Firefox 20 and later, confirmed to work in 14.04

-private-window

Opens a new private browsing window in an existing instance of Firefox. Firefox 20 and later only.

-private-window URL

Open URL in a new private browsing window. If a private browsing window is already open, a new tab is opened in the existing window. Firefox 29 and later only. Does not work in Firefox 31 on linux mint 17 nor on Firefox 48 on Windows 7. URL opens in a non-private window.

-search term

Search term with your default search engine. Firefox and SeaMonkey 2.1 and later only.

-setDefaultBrowser

Set the application as the default browser. Firefox only.

-url URL

Open URL in a new tab or window, depend on the browser option. -url can be omitted. You may list multiple URLs, separated by spaces. Firefox and SeaMonkey only.

Note: When opening multiple URLs, Firefox always opens them as tabs in a new window.

firefox www.mozilla.com firefox www.mozilla.com developer.mozilla.org

Mail/News

-addressbook

Start with address book. Thunderbird and SeaMonkey only.

-compose message_options

Start with mail composer. See syntax rules. Thunderbird and SeaMonkey only.

thunderbird -compose "[email protected]"

-mail

Start with the mail client. Thunderbird and SeaMonkey only.

-news news_URL

Start with the news client. If news_URL (optional) is given, open the specified newsgroup. Thunderbird and SeaMonkey only.

thunderbird -news news://server/group

-options

Open Options/Preferences window. Thunderbird only.

-offline

Start with the offline mode. Thunderbird and SeaMonkey only.

-setDefaultMail

Set the application as the default email client. Thunderbird only.

Calendar

-calendar

Start with the calendar client. Sunbird only.

-showdate date

Show your schedule of the given date. Sunbird only.

sunbird -showdate 08/04/2008

-subscribe URL or -url URL

Subscribe to the given URL. Sunbird only.

Other Components

-chat

Start with the IRC client, ChatZilla, if installed.

-devtools

Start with native Developer Tools opened.

-editor URL or -edit URL

Start with editor (Composer) for the given URL (where URL is optional). SeaMonkey only.

seamonkey -edit www.mozilla.org

-inspector URL

Start with the DOM Inspector, if installed, and inspect the given URL (where URL is optional).

-jsdebugger

Start application with Browser Toolbox (formerly Browser Debugger). That is different to Venkman debugger (see option -venkman).

-jsconsole

Start application with the Error Console, or, in Firefox, the Browser Console.

-purgecaches

Gecko (layout engine) has a javascript cache, which is not reset on startup. This clears it.

-start-debugger-server port

Firefox only. Start the debugger server on port. This will enable another instance of Firefox to connect the Firefox Developer Tools to this Firefox instance. See the article on remotely debugging Firefox Desktop.

The port argument is optional, and if it is omitted, the server will listen on port 6000.

-venkman

Start with the JavaScript debugger, Venkman, if installed.

XULRunner

-app /path/to/application.ini

Start a new process running the XULRunner application at path/to. Also works with Firefox version 3 and above.

--install-app path/to/myapplication.(xpi|xulapp)

Installs the XULRunner application at path/to onto the system. Applications are installed into the default location for your system (program files|Applications|usr/lib) at vendorname/applicationName.  Applications may be uninstalled per usual methods for your system.

"C:\Program Files\Mozilla XULRunner\1.8.0.4\xulrunner\xulrunner.exe" --install-app "C:\Users\Billdo\Desktop\myapplication.xpi" /opt/xulrunner/1.8.0.4/xulrunner/xulrunner --install-app ~/Desktop/myapplication.xulapp ​/Library/Frameworks/XUL.framework/xulrunner-bin --install-app ~/Desktop/myapplication.xpi

--register-global

Registers XULRunner on the system for all users. Must be run as admin / root.

--register-user

Registers XULRunner for a single user.

--unregister-global

Unregisters XULRunner for all users.

--unregister-user

Unregisters XULRunner for a single user.

Chrome

-chrome chrome_URL

Load the specified chrome.

firefox -chrome chrome://inspector/content

-register chrome_URL

Register the specified chrome, but do not start application.

Add-ons

Gecko 1.9.2 note

-install-global-extension and -install-global-theme have been removed from Gecko 1.9.2 and upwards.

-install-global-extension /path/to/extension

Installs the extension into the application directory. The parameter is the path to the extension. You must have administrative privileges.

-install-global-theme /path/to/theme

Same as above, but for themes. You must have administrative privileges.

Note: Since Firefox 2.0.0.7, use of the -install-global-extension and -install-global-theme command line arguments have been restricted to only allow installing add-ons that are on local disks or mapped drives. Installing from a network share directly will no longer succeed.

-safe-mode

Launches the application with all extensions disabled, for that launch only. (Extensions are not loaded, but are not permanently disabled in the Extension Manager data source).

Locale

-UILocale locale

Start with locale resources as UI Locale.

firefox -UILocale en-US

Remote control

-remote remote_command

This feature was removed in Firefox 36.0, restored in 36.0.1 and removed again in 39.0. See bug 1080319.

Execute the specified remote_command in an already running application process.

firefox -remote "openURL(www.mozilla.org, new-tab)"

This option is only available on X-Windows Unix platforms.

Miscellaneous

-attach-console

Write messages for the debugging console into the window which launched the application instead of opening a new window for the debugging messages. Only supported on the Windows operating system.

-console

Start application with a debugging console. Note: Windows only.

-h or -help or -?

Print the list of all available command line options. Note that on Windows this only works with a redirection such as |more (bug 355889). This option is available only in a command console.

-osint

Tells the application that it is being launched by the OS shell. This should not be specified unless the caller provides all of the functionality provided by the OS shell when launching the application (bug 384384).

-requestPending

Tells the application that there will be a Windows DDE request to open the same url specified on the command line. This should not be specified unless the caller provides all of the functionality provided by the OS shell when launching the application (bug 354005).

-silent

Don't open default windows. Useful with those command-line arguments that open their own windows but don't already prevent default windows from opening. Firefox, Thunderbird3.x and SeaMonkey2.x only.

-tray

Start application minimized to system tray. Useful with autorun.

-v or -version

Print application version. Note that on Windows this only works with a redirection such as |more (bug 355889). This option is available only in a command console.

X11 options

These options are only available for an application build for and running atop the X11/X.org display and window system to be found on Linux and other Unix-based systems.

--class=WM_CLASS

Set the WM_CLASS resource class of the X11 windows created by the application.

--display=DISPLAY

Set the X display to use.

--g-fatal-warnings

Make all warnings fatal.

--sync

Make X calls synchronous.

Other options need to be documented

  • -print-xpcom-dir
  • -print-xpcom-dirlist
  • -kill
  • -killAll
  • -f
  • -ftimeout
  • -fwait
  • -unsetDefaultMail
  • GTK options

References

Original Document Information

  • Author(s): Ben Goodger, Steffen Wilberg, Seth Spitzer, Daniel Wang
  • Copyright Information: Portions of this content are © 1998–2007 by individual mozilla.org contributors; content available under a Creative Commons license | Details.

 

developer.mozilla.org


Смотрите также

 

..:::Новинки:::..

Windows Commander 5.11 Свежая версия.

Новая версия
IrfanView 3.75 (рус)

Обновление текстового редактора TextEd, уже 1.75a

System mechanic 3.7f
Новая версия

Обновление плагинов для WC, смотрим :-)

Весь Winamp
Посетите новый сайт.

WinRaR 3.00
Релиз уже здесь

PowerDesk 4.0 free
Просто - напросто сильный upgrade проводника.

..:::Счетчики:::..