MozTW 討論區
https://forum.moztw.org/

請教:Windows 8預設Firefox瀏覽
https://forum.moztw.org/viewtopic.php?f=2&t=39389
1 頁 (共 2 頁)

發表人:  rubcandy0208 [ 2013-03-07, 11:12 ]
文章主題 :  請教:Windows 8預設Firefox瀏覽

以前在xp,底下登錄檔可以讓Firefox作為預設瀏覽,可是windows 8卻無法登錄,我已使用「管理員取的所有權.reg」方式,還是不行,請教先進,是否登錄檔語法需要修改呢?

#預設Firefox瀏覽.reg
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\FirefoxHTML]

[HKEY_CLASSES_ROOT\FirefoxHTML\DefaultIcon]
@="\"D:\\Portable\\網管網路\\Firefox_Portable\\FirefoxPortable.exe\",1"

[HKEY_CLASSES_ROOT\FirefoxHTML\Shell\open\command]
@="\"D:\\Portable\\網管網路\\Firefox_Portable\\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:\\Portable\\網管網路\\Firefox_Portable\\FirefoxPortable.exe\",1"

[HKEY_CLASSES_ROOT\InternetShortcut\shell]
@=""

[HKEY_CLASSES_ROOT\InternetShortcut\shell\open\command]
@="\"D:\\Portable\\網管網路\\Firefox_Portable\\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:\\Portable\\網管網路\\Firefox_Portable\\FirefoxPortable.exe\" -url \"%1\""


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

[HKEY_CLASSES_ROOT\http\DefaultIcon]
@="\"D:\\Portable\\網管網路\\Firefox_Portable\\FirefoxPortable.exe\",1"

[HKEY_CLASSES_ROOT\http\shell]
@=""

[HKEY_CLASSES_ROOT\http\shell\open\command]
@="\"D:\\Portable\\網管網路\\Firefox_Portable\\FirefoxPortable.exe\" -url \"%1\""


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

[HKEY_CLASSES_ROOT\https\DefaultIcon]
@="\"D:\\Portable\\網管網路\\Firefox_Portable\\FirefoxPortable.exe\",1"

[HKEY_CLASSES_ROOT\https\shell]
@=""

[HKEY_CLASSES_ROOT\https\shell\open\command]
@="\"D:\\Portable\\網管網路\\Firefox_Portable\\FirefoxPortable.exe\" -url \"%1\""


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

[HKEY_CLASSES_ROOT\ftp\DefaultIcon]
@="\"D:\\Portable\\網管網路\\Firefox_Portable\\FirefoxPortable.exe\",1"

[HKEY_CLASSES_ROOT\ftp\shell]
@=""

[HKEY_CLASSES_ROOT\ftp\shell\open\command]
@="\"D:\\Portable\\網管網路\\Firefox_Portable\\FirefoxPortable.exe\" -url \"%1\""



管理員取的所有權.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@="管理員取得所有權"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\exefile\shell\runas2]
@="管理員取得所有權"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\exefile\shell\runas2\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="管理員取得所有權"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

發表人:  天邪翼 [ 2013-03-07, 12:03 ]
文章主題 :  Re: 請教:Windows 8預設Firefox瀏覽

我拿官方版的做對照

[HKEY_CLASSES_ROOT\FirefoxHTML\DefaultIcon]
@="C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe,1"

[HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\command]
@="\"C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe\" -osint -url \"%1\""

[HKEY_CLASSES_ROOT\http\DefaultIcon]
@="C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe,1"

感覺是這一行比較不一樣吧,因為中文路徑的關係?

@="\"D:\\Portable\\網管網路\\Firefox_Portable\\FirefoxPortable.exe\",1"

@="C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe,1"

發表人:  rubcandy0208 [ 2013-03-09, 17:01 ]
文章主題 :  Re: 請教:Windows 8預設Firefox瀏覽

改這樣也不行

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\FirefoxHTML]

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

[HKEY_CLASSES_ROOT\FirefoxHTML\Shell\open\command]
@="\"D:\\Portable\\Network\\Firefox_Portable\\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:\\Portable\\Network\\Firefox_Portable\\FirefoxPortable.exe\",1"

[HKEY_CLASSES_ROOT\InternetShortcut\shell]
@=""

[HKEY_CLASSES_ROOT\InternetShortcut\shell\open\command]
@="\"D:\\Portable\\Network\\Firefox_Portable\\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:\\Portable\\Network\\Firefox_Portable\\FirefoxPortable.exe\" -url \"%1\""


[HKEY_CLASSES_ROOT\http]
@="URL:HyperText ╢╟┐Θ│q░T¿≤⌐w"
"EditFlags"=dword:00000000
"URL Protocol"=""

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

[HKEY_CLASSES_ROOT\http\shell]
@=""

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


[HKEY_CLASSES_ROOT\https]
@="URL:HyperText ╢╟┐Θ│q░T¿≤⌐w¬■Ñ[½O▒K"
"EditFlags"=dword:00000000
"URL Protocol"=""

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

[HKEY_CLASSES_ROOT\https\shell]
@=""

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


[HKEY_CLASSES_ROOT\ftp]
@="URL:└╔«╫╢╟┐Θ│q░T¿≤⌐w"
"EditFlags"=dword:00000002
"URL Protocol"=""

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

[HKEY_CLASSES_ROOT\ftp\shell]
@=""

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

發表人:  天邪翼 [ 2013-03-09, 22:34 ]
文章主題 :  Re: 請教:Windows 8預設Firefox瀏覽

@="\"D:\\Portable\\網管網路\\Firefox_Portable\\FirefoxPortable.exe\",1"

@="C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe,1"

我指的是"\
因為我抓下來的登錄檔沒"\"路徑",1"
上面是你的
下面是我的

發表人:  rubcandy0208 [ 2013-03-12, 21:31 ]
文章主題 :  Re: 請教:Windows 8預設Firefox瀏覽

原來如此,謝啦,改成以下可以登錄了,慢慢再試是否firefox是否真成為預設的

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\FirefoxHTML]

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

[HKEY_CLASSES_ROOT\FirefoxHTML\Shell\open\command]
@="D:\\Portable\\Network\\Firefox_Portable\\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:\\Portable\\Network\\Firefox_Portable\\FirefoxPortable.exe,1"


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


[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:\\Portable\\Network\\Firefox_Portable\\FirefoxPortable.exe -url %1"


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

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

[HKEY_CLASSES_ROOT\http\shell]
@=""

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


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

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

[HKEY_CLASSES_ROOT\https\shell]
@=""

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


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

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

[HKEY_CLASSES_ROOT\ftp\shell]
@=""

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

發表人:  taglife [ 2013-03-13, 02:29 ]
文章主題 :  Re: 請教:Windows 8預設Firefox瀏覽

Windows XP, Windows 7, Windows 8 的寫法一樣嗎? :?:

發表人:  rubcandy0208 [ 2013-03-22, 09:24 ]
文章主題 :  Re: 請教:Windows 8預設Firefox瀏覽

Windows 8 可登錄,可是Fiefox還是沒變預設的。為什麼Firefox不給個Windows 8 變預設的的方法呢?難道還要讓MS霸佔著啊!

發表人:  天邪翼 [ 2013-03-22, 10:54 ]
文章主題 :  Re: 請教:Windows 8預設Firefox瀏覽

rubcandy0208 寫:
Windows 8 可登錄,可是Fiefox還是沒變預設的。為什麼Firefox不給個Windows 8 變預設的的方法呢?難道還要讓MS霸佔著啊!


我用安裝的就取代IE預設了
哪來的不給預設?

有些前面跟後面有這類參數
"\"自訂路徑" -osint -url \"%1\""

另外就是VISTA之後的註冊檔不一定會跟XP一樣
在別的軟體有遇到過
火狐的話,你就安裝一次,慢慢對照修改吧。

不然我上面是怎麼抓部份登錄檔出來給你對照..=.=

還有選項=>進階
底下不是有一個預設瀏覽器項目
不過你是用便攜版,這功能沒用就是了

發表人:  Holy [ 2013-03-23, 13:44 ]
文章主題 :  Re: 請教:Windows 8預設Firefox瀏覽

樓主在 控制台→預設程式→設定您的預設程式 內沒看到 Firefox 嗎?
圖檔

附加檔案:
檔案註釋: 設定預設程式
Firefox.png [59.55 KiB]
被下載 1066 次

發表人:  rubcandy0208 [ 2013-03-25, 11:54 ]
文章主題 :  Re: 請教:Windows 8預設Firefox瀏覽

歹勢啦,我一直都是用「免安裝的」版本,難怪會有問題,xp按個登錄檔,firefox就把權利從IE給拿回來,win8就一直拿不回來,難道只能安裝的版本來處理了。

發表人:  GelgoogZEON [ 2013-03-25, 12:40 ]
文章主題 :  Re: 請教:Windows 8預設Firefox瀏覽

這是系統範疇

新 Win8 本來就不支援免安裝的預設方式

所以只能用安裝版本

發表人:  天邪翼 [ 2013-03-25, 12:41 ]
文章主題 :  Re: 請教:Windows 8預設Firefox瀏覽

rubcandy0208 寫:
歹勢啦,我一直都是用「免安裝的」版本,難怪會有問題,xp按個登錄檔,firefox就把權利從IE給拿回來,win8就一直拿不回來,難道只能安裝的版本來處理了。


要用登錄檔修改啟動執行檔的問題在於使用者
這問題跟火狐本來就沒有什麼關係

如果你不會改,那就用安裝版而已
不然就是你自己研究WIN8怎麼修改註冊檔
或者某人佛心重新寫個登錄檔給你試用

視窗鍵+R,輸入REGEDIT
就會呼叫登錄檔管理程式了
自己慢慢研究吧

你後來改的登錄檔,有些路徑上的參數是錯的

XP跟WIN8差了十年以上
另外32bit系統跟64bit系統
在註冊上也有不同,至於火狐是不是也有不同
這個就樓主自己研究了

另外火狐可以自訂"設定檔目錄"
如果樓主只是不想設定檔存在C槽使用者目錄下
參考這篇吧

使用設定檔管理員建立或移除 Firefox 設定檔

發表人:  GelgoogZEON [ 2013-03-25, 14:50 ]
文章主題 :  Re: 請教:Windows 8預設Firefox瀏覽

天邪翼 寫:
如果你不會改,那就用安裝版而已
不然就是你自己研究WIN8怎麼修改註冊檔
或者某人佛心重新寫個登錄檔給你試用

另外火狐可以自訂"設定檔目錄"
如果樓主只是不想設定檔存在C槽使用者目錄下
參考這篇吧

使用設定檔管理員建立或移除 Firefox 設定檔
這個 Win8 的架構已經與其他不一樣了

另外那篇文也只適用於 Win7, WinV,WinXP 而已

發表人:  天邪翼 [ 2013-03-25, 18:07 ]
文章主題 :  Re: 請教:Windows 8預設Firefox瀏覽

GelgoogZEON 寫:
這個 Win8 的架構已經與其他不一樣了

另外那篇文也只適用於 Win7, WinV,WinXP 而已



那篇文章的方法我有試過
沒問題,可以叫出設定檔管理

附加檔案:
檔案註釋: 設定檔管理
螢幕擷取畫面 (130).png [45.79 KiB]
被下載 178 次

發表人:  GelgoogZEON [ 2013-03-25, 19:23 ]
文章主題 :  Re: 請教:Windows 8

天邪翼 寫:
那篇文章的方法我有試過
沒問題,可以叫出設定檔管理

預設Firefox瀏覽與設定檔管理無關

1 頁 (共 2 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/