
有些命令测试无效。可能是版本、操作系统或者firefox设置的关系,下面仅为我在 windows xp 下测试有效的命令参数。更多参数请参考后面资料。
firefox “http://blog.guoshuang.com”
直接打来网址
firefox -ProfileManager
启动时先打开配置窗口
firefox -P “profile_name”
直接使用名为 profile_name 的配置
firefox.exe -safe-mode
启动到安全模式
firefox.exe -no-remote
启动多个不同配置的 firefox 实例(甚至不同版本)
firefox.exe -jsconsole
启动java script控制台
firefox.exe -new-window url
在新窗口打开 url
firefox.exe -new-tab url
在新标签页打开 url
firefox.exe -install-global-extension “C:Tempextension-file.xpi”
安装插件
firefox.exe -install-global-theme “/path/to/theme”
安装主题
参考文档:

因为需要测试 firefox 3.x,又不希望影响 firefox 2.x 正常的使用,找了些资料。
我在这里下载的 firefox 3.x nightly build,你可以在
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/experimental/
寻找最新 build 的 windows zip 包(绿色无安装,解压运行 firefox.exe 即可)。
1. 首先需要建立多个 firefox 的配置文件。
开始 - 运行 - firefox -profilemanager


说明:两个firefox 不能使用同一个 profile 文件,否则会提示“firefox 已经在运行…”
2. 修改启动的快捷方式

说明:-P 表示使用 guoshuang 这个profile 配置; -no-remote 打开另外一个实例。

相关资料:
windows 命令脚本
set MOZ_NO_REMOTE=1
“C:Program FilesMozilla Firefoxfirefox.exe” -P guoshuang
gecko 1.8x 以前用 preventBubble(),1.9x 以后改成标准的 stopPropagation。IE 还是老办法。
gecko 1.9x(firefox 3.x)测试,preventBubble()的确被去掉,但支持 event.cancelBubble=true 了。
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
i test for opera,it does not support this event.firefox can.
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
Gecko 1.8 (Firefox 1.5)以上即可。注意,逗号分隔多个选择(左边优先),最后必须以标准的 CSS cursor 属性结束,如 pointer,auto 等。
甚至可以指定cursor 的坐标
cursor:url(images/logo_baidu.gif) 100 20,auto;
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
注意两个小问题:
1.firefox 暂时不支持 .ani
2.下面两个写法 firefox 都无法正确执行。
cursor: url(foo.cur);
后面没有 auto或者 pointer 等标准属性。
cursor: url(foo.cur), pointer, url(bar.cur), auto;
uri 必须在前,标准属性在后。
这应该都不是什么大问题,应该是 gecko 开发人员偷懒所致,估计很快会被解决。
更多资料:
like IE 7 very much and more cute.More my favorite opera skins here