Firefox:如何设置Firefox为默认浏览器

转自: http://blog.sina.com.cn/s/blog_48ba5448010009te.html

 

 

Firefox:如何设置Firefox为默认浏览器(2007-04-26 08:52:06)

Windows

通常,你能通过“工具 -> 选项 -> 常规 -> 默认浏览器 -> 检查”来设置Firefox为默认浏览器。如果不行,您有两个选择。

强制Firefox自动设置

如果Firefox已经认为自己是默认浏览器,那么它就不再弹出默认浏览器提示了。通过“开始 -> 运行”,然后把下面的命令行输入文本框。

firefox.exe -silent -nosplash -setDefaultBrowser

手动设置

* Windows XP 中, “开始 -> 控制面板 -> 添加/删除程序 -> 设置程序访问和默认值(左边)-> 自定义” 设置 Mozilla 或者 Mozilla Firefox为你的默认浏览器。

如果上面的办法无效,那么请照以下设置。

* Windows 中,“开始 -> 控制面板 -> 文件夹选项 -> 文件类型” 把下面的文件类型分配到Mozilla 或者 Mozilla Firefox。
o URL:超文本传送协议
o URL:带私人验证的超文本传送协议
o URL:文件传送协议
o HTML 文件
o HTM 文件 (可选)

Note: you may find the URL file types above under extension "N/A" or "(none)".

* In Windows XP, you must go Start -> Control Panel first.
o If your Control Panel choose "Category View", and click on "Performance and Maintenance". Then, click on "Files Types" in the left column under the heading "See Also".
o If your Control Panel uses Classic View, then go Folder Options -> File Types.
o In either case, set the above to Mozilla.

第三方工具

There is a freeware utility that will save you a lot of work (see second route) by, in general, automating the steps for you [1] (http://www.pc-tools.net/win32/freeware/setbrowser/). But if that doesn't work, follow instructions below.

Linux


You may have to change both Gnome and KDE config (see below). If you want the URLs to open in a new tab instead of the last tab opened, use this workaround :

* Edit the "firefox" startup script in the firefox base directory
* Search for a line containing "openURL"
* Replace _remote_cmd="openURL(${_optLast})" with _remote_cmd="openURL(${_optLast},new-tab)"

You can replace "new-tab" with "new-window" if you want to open the URLs in a new window

Gnome


* 到 “应用程序 -> 桌面首选项 -> 高级 -> 首选应用程序。
* 选择”Web 浏览器“,然后键入“firefox %s”(mozilla则键入 "mozilla %s")。注意“firefox”或者“mozilla”的符号链接必须放在某个默认路径(PATH)下(例如,通常把"firefox"的符号链接放到 "/usr/bin/").

KDE

* Open kcontrol (KDE configuration center)
* Select components -> components chooser
* Open the "web browser" component
* Check "the following browser" and type in "firefox" (or the name of your firefox startup command)

If you don't notice the "web browser" component :

* Select components -> file association
* Select text -> html in the MIME type tree.
* Select "Add..." under "Application Preference Order".
* Write the command "firefox %U" and press ok (you need "%U" so you can load URLs that are non-local files)

Mac OS X

1. Download Safari (http://www.apple.com/safari/) if you do not already have it.
2. In Safari, choose "Preferences" from the menu.
3. Click the "General" icon, and choose Mozilla from the default web browser pop-up menu. If you dont see Mozilla in the list, make sure it is in the "Applications" folder.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值