firefox 命令行参数
来源:互联网 发布:网络远程学历 编辑:程序博客网 时间:2024/05/19 17:08
Command line arguments
You can use command line arguments to start your Mozilla application with special behavior.
Contents
[hide]- 1How to use command line arguments
- 1.1For Windows users
- 1.2For Linux and Mac OS X users
- 2List of command line arguments (incomplete)
- 3See also
- 4External links
[edit]
How to use command line arguments
[edit]
For Windows users
- Go to "Start -> Run" (On Windows 7/Vista, press "WindowsKey+R" or use the search box at the bottom of the Start menu) and enter the file path and file name of the application, followed by the command line arguments. For example,
"C:\Program Files\Mozilla Firefox\firefox.exe" -ProfileManager
(including the quotation marks). In this example the file path to the installation directory is C:\Program Files\Mozilla Firefox, the file name of the Firefox application is firefox.exe, and the command line argument we are using is ProfileManager. You should place a hyphen (-) directly before each command line argument that you wish to use.
- If you regularly wish to start your application using command line arguments then you can also create a shortcut on your Desktop which includes them. To do this, right-click on an open space of the desktop and choose "New -> Shortcut". Follow the wizard to create the new shortcut. When it prompts you for location (not name), type the file path and file name followed by the command line arguments, exactly as in the example above.
[edit]
For Linux and Mac OS X users
- Open a Terminal window and type what you want to execute. On Linux, the shortcuts to your Terminal window will vary in location depending on your desktop environment. On Mac OS X go to your Applications/Utilities folder and choose "Terminal". Enter the path to the application, then a space, followed by a hypen (-) and the command-line argument. For example, to start the Firefox with the Profile Manager on Mac OS X, you would enter the following:
/Applications/Firefox.app/Contents/MacOS/firefox -ProfileManager
On some Mac versions (needs clarification), this command looks like
/Applications/Firefox.app/Contents/MacOS/firefox-bin -ProfileManager
[edit]
List of command line arguments (incomplete)
See also the external links at the bottom of this article.
Does not apply to Mozilla Suite/SeaMonkey 1.xfirefox.exe -profile "E:\myprofile"P "<profile name>"Starts with a given profile name (profile name is case sensitive).firefox.exe -P "Joel User"<url>Launches the application and opens the given URL(s).firefox.exe "www.mozilla.org" "www.mozillazine.org"safe-modeLaunches the application with extensions disabled and the default theme.
Does not apply to Mozilla Suite/SeaMonkey 1.xfirefox.exe -safe-modeno-remoteEnables running multiple instances of the application with different profiles; [1] used with -P
Does not apply to Mozilla Suite/SeaMonkey 1.xfirefox.exe -no-remoteheight <value>Sets height of the startup window to <value>.firefox.exe -height 600width <value>Sets width of the startup window to <value>.firefox.exe -width 800ProfileManagerStarts with Profile Manager.firefox.exe -ProfileManagerCreateProfileCreate a new profilefirefox -CreateProfile testmigrationStarts the application with the Import Wizard
Does not apply to Mozilla Suite/SeaMonkey 1.xfirefox -migrationconsoleStarts the application with a debugging console.firefox.exe -consolejsconsoleStarts with the Error Console (Javascript Console).firefox.exe -jsconsoleinspector <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.xulnew-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"purgecachesPurges the caches for internal JavaScript and extensions.
Applies since Firefox 4firefox.exe -purgecaches
0 0
- firefox 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- 命令行参数
- Android中Cursor类的概念和用法
- 6-17复数四则运算
- vi hello, world!
- LINUX下的C++编译器GCC简介
- ThreadLocal模式
- firefox 命令行参数
- 海量图片存储策略
- 注册时候使用 RSA 实现前台对密码加密和后台解密
- 美国必将毁于烙印
- 数学基础:角度,弧度,三角函数
- EQ降龙18掌
- 备忘 windows 8.1 开发
- GitHub使用流程- Git Shell 的一些命令总结(二) 创建代码库并学会更新
- Binary Tree Postorder Traversal