[PortableFirefox] Command Line Parameters for Portable FF
Markus Brandt
Ma2Brandt at gmx.net
Thu Mar 3 13:30:38 EST 2005
Hello John,
I'm using your PortableFirefox and like it very much.
Yesterday I tried to set up my Windows XP system to use PortableFirefox
as my default broswer and realized that there is a problem concering the
startup.
PortableFirefox does not pass any command line parameters to firefox.exe.
So I can't do something like "portablefirefox.exe -url http://mozdev.org".
Is it possible to change this in a new version?
I'm using this Registry file which reassings my private internet settings
under HKEY_CURRENT_USER\Software\Classes - which I'm allowd to do so even
not beeing an administrator. This tells the system (aka explorer) to not use
the system default settings under HKEY_CLASSES_ROOT (resp.
HKEY_LOCAL_MACHINE\SOFTWARE\Classes). Instead PortableFirefox is run from my
USB-stick on drive E:.
Because of the missing command line support I had to change
portablefirefox.exe to firefox.exe with the -profile parameter.
This works, but is possible unsave with extensions.
------------- snip -------------------------------------------------------
REGEDIT4
[HKEY_CURRENT_USER\Software\Classes\.htm]
@="FirefoxHTML"
[HKEY_CURRENT_USER\Software\Classes\.html]
@="FirefoxHTML"
[HKEY_CURRENT_USER\Software\Classes\.shtml]
@="FirefoxHTML"
[HKEY_CURRENT_USER\Software\Classes\.xht]
@="FirefoxHTML"
[HKEY_CURRENT_USER\Software\Classes\.xhtml]
@="FirefoxHTML"
[HKEY_CURRENT_USER\Software\Classes\CHROME]
[HKEY_CURRENT_USER\Software\Classes\CHROME\DefaultIcon]
; **** portablefirefox.exe does not have a secon icon for using with
explorer.
; **** So we use firefox.exe instead.
;@="e:\\firefox\\portab~1.exe,1"
@="e:\\firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\SOFTWARE\CLASSES\CHROME\SHELL]
[HKEY_CURRENT_USER\Software\Classes\CHROME\shell\open]
[HKEY_CURRENT_USER\Software\Classes\CHROME\shell\open\command]
;@="e:\\firefox\\portab~1.exe -url \"%1\""
@="e:\\firefox\\firefox.exe -profile \\firefox\\profile\\ -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML]
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML\DefaultIcon]
;@="e:\\firefox\\portab~1.exe,1"
@="e:\\firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\SOFTWARE\CLASSES\FIREFOXHTML\SHELL]
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML\shell\open]
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML\shell\open\command]
;@="e:\\firefox\\portab~1.exe -url \"%1\""
@="e:\\firefox\\firefox.exe -profile \\firefox\\profile\\ -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\ftp\DefaultIcon]
;@="e:\\firefox\\portab~1.exe,1"
@="e:\\firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\SOFTWARE\CLASSES\FTP\SHELL\OPEN\COMMAND]
;@="e:\\firefox\\portab~1.exe -url \"%1\""
@="e:\\firefox\\firefox.exe -profile \\firefox\\profile\\ -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\gopher\DefaultIcon]
;@="e:\\firefox\\portab~1.exe,1"
@="e:\\firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\SOFTWARE\CLASSES\GOPHER\SHELL\OPEN\COMMAND]
;@="e:\\firefox\\portab~1.exe -url \"%1\""
@="e:\\firefox\\firefox.exe -profile \\firefox\\profile\\ -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\http\DefaultIcon]
;@="e:\\firefox\\portab~1.exe,1"
@="e:\\firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\SOFTWARE\CLASSES\HTTP\SHELL\OPEN\COMMAND]
;@="e:\\firefox\\portab~1.exe -url \"%1\""
@="e:\\firefox\\firefox.exe -profile \\firefox\\profile\\ -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\https\DefaultIcon]
;@="e:\\firefox\\portab~1.exe,1"
@="e:\\firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\SOFTWARE\CLASSES\HTTPS\SHELL\OPEN\COMMAND]
;@="e:\\firefox\\portab~1.exe -url \"%1\""
@="e:\\firefox\\firefox.exe -profile \\firefox\\profile\\ -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\MIME\Database\Content
Type\application/x-xpinstall;app=firefox]
"Extension"=".xpi"
;#######################################################################
[HKEY_CURRENT_USER\SOFTWARE\Mozilla]
@=""
[HKEY_CURRENT_USER\SOFTWARE\Mozilla\Mozilla]
"CurrentVersion"="1.7.5"
[HKEY_CURRENT_USER\SOFTWARE\Mozilla\Mozilla Firefox]
@=""
"CurrentVersion"="1.0 (de-DE)"
[HKEY_CURRENT_USER\SOFTWARE\Mozilla\Mozilla Firefox\1.0 (de-DE)]
@=""
[HKEY_CURRENT_USER\SOFTWARE\Mozilla\Mozilla Firefox\1.0 (de-DE)\Main]
"Install Directory"="e:\\firefox\\"
;"PathToExe"="e:\\firefox\\portab~1.exe"
"PathToExe"="e:\\firefox\\firefox.exe"
[HKEY_CURRENT_USER\SOFTWARE\Mozilla\Mozilla Firefox 1.0]
"GeckoVer"="1.0.1"
[HKEY_CURRENT_USER\SOFTWARE\Mozilla\Mozilla Firefox 1.0\bin]
;"PathToExe"="e:\\firefox\\portab~1.exe"
"PathToExe"="e:\\firefox\\firefox.exe"
[HKEY_CURRENT_USER\SOFTWARE\Mozilla\Mozilla Firefox 1.0\Extensions]
"Components"="e:\\firefox\\Components"
"Plugins"="e:\\firefox\\Plugins"
[HKEY_CURRENT_USER\SOFTWARE\mozilla.org]
[HKEY_CURRENT_USER\SOFTWARE\mozilla.org\Mozilla]
"CurrentVersion"="1.7.5"
------------- snip -------------------------------------------------------
Best regards
Markus Brandt
More information about the PortableFirefox
mailing list