將 Firefox 免安裝版設為預設瀏覽器

如果你也是「火狐免安裝版」的愛用者,相信會遇到即使設定 Firefox 為預設瀏覽器之後,似乎沒用!網路捷徑還是用 IE 開啟,以下的登錄檔修改方式可以將 Firefox 免安裝版設定為預設瀏覽器,但還不能於 MSN 點信箱直接用 Firefox 免安裝版開啟:

1. 更改為預設瀏覽器(資料來源:Mozilla Taiwan 討論區
假設你的免安裝版路徑為:D:\Software\FirefoxPortable\FirefoxPortable.exe
新增一個文字檔後,複製下列文字,再將路徑「D:\\Software\\FirefoxPortable\\FirefoxPortable.exe\」改為你自己的後,另存新檔成為「*.reg」檔,再點兩下執行「*.reg」檔。
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\FirefoxHTML]

[HKEY_CLASSES_ROOT\FirefoxHTML\DefaultIcon]
@="\"D:\\Software\\FirefoxPortable\\FirefoxPortable.exe\",1"

[HKEY_CLASSES_ROOT\FirefoxHTML\Shell\open\command]
@="\"D:\\Software\\FirefoxPortable\\FirefoxPortable.exe\" -url \"%1\""


[HKEY_CLASSES_ROOT\.html]
@="FirefoxHTML"
"PerceivedType"="text"
"Content Type"="text/html"

[HKEY_CLASSES_ROOT\.htm]
@="FirefoxHTML"
"PerceivedType"="text"
"Content Type"="text/html"


[HKEY_CLASSES_ROOT\InternetShortcut]
@="網際網路捷徑"
"EditFlags"=dword:00000002
"IsShortcut"=""
"NeverShowExt"=""

[HKEY_CLASSES_ROOT\InternetShortcut\DefaultIcon]
@="\"D:\\Software\\FirefoxPortable\\FirefoxPortable.exe\",1"

[HKEY_CLASSES_ROOT\InternetShortcut\shell]
@=""

[HKEY_CLASSES_ROOT\InternetShortcut\shell\open\command]
@="\"D:\\Software\\FirefoxPortable\\FirefoxPortable.exe\" -url \"%1\""

[HKEY_CLASSES_ROOT\InternetShortcut\shellex\ContextMenuHandlers\{FBF23B40-E3F0-101B-8488-00AA003E56F8}]
@=""

[HKEY_CLASSES_ROOT\.url]
@="InternetShortcut"


[HKEY_CLASSES_ROOT\htmlfile]
@="HTML Document"
"EditFlags"=dword:00000000

[HKEY_CLASSES_ROOT\htmlfile\shell]
@=""

[HKEY_CLASSES_ROOT\htmlfile\shell\open\command]
@="\"D:\\Software\\FirefoxPortable\\FirefoxPortable.exe\" -url \"%1\""


[HKEY_CLASSES_ROOT\http]
@="URL:HyperText 傳輸通訊協定"
"EditFlags"=dword:00000000
"URL Protocol"=""

[HKEY_CLASSES_ROOT\http\DefaultIcon]
@="\"D:\\Software\\FirefoxPortable\\FirefoxPortable.exe\",1"

[HKEY_CLASSES_ROOT\http\shell]
@=""

[HKEY_CLASSES_ROOT\http\shell\open\command]
@="\"D:\\Software\\FirefoxPortable\\FirefoxPortable.exe\" -url \"%1\""


[HKEY_CLASSES_ROOT\https]
@="URL:HyperText 傳輸通訊協定附加保密"
"EditFlags"=dword:00000000
"URL Protocol"=""

[HKEY_CLASSES_ROOT\https\DefaultIcon]
@="\"D:\\Software\\FirefoxPortable\\FirefoxPortable.exe\",1"

[HKEY_CLASSES_ROOT\https\shell]
@=""

[HKEY_CLASSES_ROOT\https\shell\open\command]
@="\"D:\\Software\\FirefoxPortable\\FirefoxPortable.exe\" -url \"%1\""


[HKEY_CLASSES_ROOT\ftp]
@="URL:檔案傳輸通訊協定"
"EditFlags"=dword:00000002
"URL Protocol"=""

[HKEY_CLASSES_ROOT\ftp\DefaultIcon]
@="\"D:\\Software\\FirefoxPortable\\FirefoxPortable.exe\",1"

[HKEY_CLASSES_ROOT\ftp\shell]
@=""

[HKEY_CLASSES_ROOT\ftp\shell\open\command]
@="\"D:\\Software\\FirefoxPortable\\FirefoxPortable.exe\" -url \"%1\""


2.
關閉DDE - 登錄檔修正(資料來源:MozillaZine
修正匯入以上登錄檔後,開啟桌面網際網路捷徑會出現錯誤:「Windows找不到檔案或項目http://www.....」。
1. 開啟登錄檔編輯器:【開始】→【執行】→輸入 regedit
2. 刪除下列四個登錄檔路徑下的
ddeexec」機碼:
HKEY_CLASSES_ROOT\HTTP\shell\open
HKEY_CLASSES_ROOT\HTTPS\shell\open
HKEY_CLASSES_ROOT\FirefoxURL\shell\open
HKEY_CLASSES_ROOT\FirefoxHTML\shell\open

這是研究許久的心得,若你有更好的方法,歡迎分享。


文章作者:阿榮歡迎引用,務必註明出處!
軟體下載:http://www.azofreeware.com/2006/10/firefox-20.html

關鍵字:firefox portable default browser
福利味有限公司 | 台灣軟體代理商 正版軟體 開立電子發票 LINE客服:@trh0428g