用 AHK 打造自己的 Firefox Portable
- 软件性质:Freeware
- 软件大小:356KB
- 软件下载:下载
昨天小众友人,抢小众沙发爱好者 Paveo 问我怎么把 Firefox 3 变成 portable 的?portable 就是便携版,可以放在在 U 盘并在任意电脑使用的版本。
我回答:
一般都是直接在原来的 portable 的升级就行了,或者去 portableapps 下载最新的,或者手工打造一个。
Firefox 有个启动参数:profile,利用这个参数,就可以实现 DIY 一个自己的 portable。怎么用呢?为 Firefox 新建一个快捷方式,然后,打开快捷方式的属性,在目标后面加上“[空格]-profile F:\Profiles”,如下图
这样做,每次换电脑,因为 U 盘盘符的改变,所以要修改一下快捷方式的目标盘符,非常不方便。
如何完美实现呢?
用了原版的朋友,请打开 C:\Documents and Settings\你的用户名\Application Data\Mozilla\Firefox\ 把 Profiles 复制到 firefox 所在文件夹,然后下载 firefox paveo portable.exe,也放到 firefox 所在文件夹。如图:
不是只保留这三个文件。)
然后把整个 firefox 文件夹复制到 U 盘。大功告成!以后运行 firefox paveo portable.exe 就可以了。
如果是从 Portableapps 下载的版本,profile 文件夹在 Data 下。记得改名为 Profiles,并复制到 Firefox 下。其实也没必要用这个 firefox paveo portable.exe 了,都已经是 portable 了还折腾。
如果你对 portable 版,不能同时运行两个 firefox 而烦恼的话,可以试试这个。我修改过 portable 版的配置文件,据说可以同时运行 N 个,以失败告终。
我只用了一句 AHK 命令:
run %A_ScriptDir%\firefox.exe -profile %A_ScriptDir%\Profiles
A_ScriptDir 代表被运行的 AHK 脚本所在的路径。
下载(246KB):来自小众软件|box.net|mediafire
p.s.1 今天下载了 firefox 3 的棕油别忘记去领一份下载证书(via)哦:

p.s.2 Firefox 3 正式版的真面目竟然是 RC 3!
p.s.3 有请资深 portable 砖家 est 评论:
放弃 NSIS 做的 portable 吧。直接用 firefox.exe -profile 启动参数指定配置文件路径。
也就是一个快捷方式~~~
我还实现了 FF2+FF3 在 Mac、Windows、Ubuntu下用同一套profile
就是插件有点恼火,不兼容 ~~
Tag: AHK, Firefox, Portable, 原创 2,672 views




ff3也好用
哇哈哈哈
paveo reply on 六月 18th, 2008,7:57 下午:
Black-Xstar reply on 六月 18th, 2008,11:15 下午:
李二嫂的猪 reply on 六月 19th, 2008,9:27 上午:
真的没有opera好
Paveo reply on 六月 18th, 2008,11:29 下午:
坚定抛弃 NSIS 做的。这样不就让 ff 启动更慢了。
sfufoet reply on 六月 19th, 2008,9:13 上午:
fonlan reply on 六月 19th, 2008,11:15 下午:
我觉得很奇怪,那个链接使用md5证明这一点的。
可是就算两个再一样,help->about里面的版本信息还是有点区别的吧。两个有一点点区别的程序打包以后还是会有一点点区别的吧,一点点区别在md5里面按照我的理解应该是会产生很大的差别的吧……
有没有谁解释一下?
sfufoet reply on 六月 19th, 2008,9:10 上午:
*ff=run|firefox\firefox -profile firefox\Profiles
也很简单
sfufoet reply on 六月 19th, 2008,9:10 上午:
Run(”firefox\firefox -profile firefox\Profiles”)
也很简单
李二嫂的猪 reply on 六月 19th, 2008,9:32 上午:
0401 reply on 六月 19th, 2008,9:50 上午:
Jameson reply on 六月 20th, 2008,11:30 下午:
简单的au3、批处理才是正道啊
试试hoekey? reply on 六月 21st, 2008,10:28 下午:
0401 reply on 六月 23rd, 2008,9:27 上午:
sfufoet reply on 六月 23rd, 2008,9:31 上午:
Run(@ScriptDir + “\firefox.exe -profile ” + @ScriptDir + “\Profiles”)
例如:D:\Firefox\firefox.exe -profile .\Profiles
“.\”就可以表示当前目录
程序的路径没法解决
Simon reply on 六月 19th, 2008,12:54 下午:
pandaren reply on 六月 19th, 2008,6:45 下午:
要不,你给我信推荐一款好用的?
用过这么多,仅仅觉得gladder方便。
sfufoet reply on 六月 19th, 2008,10:39 下午:
likin reply on 六月 19th, 2008,10:46 下午:
z达人 reply on 六月 20th, 2008,5:57 上午:
Enson reply on 六月 20th, 2008,2:56 下午:
[...] 用 AHK 打造自己的 Firefox Portable [...]
sfufoet reply on 六月 20th, 2008,8:03 下午:
D调 reply on 六月 20th, 2008,8:59 下午:
firefoxportable用defaultmyffp就弄好了,很方便,这个行么?
sfufoet reply on 六月 21st, 2008,9:01 上午:
TheDarkLord reply on 六月 21st, 2008,9:12 上午:
—————————
泡面计时器.ahk
—————————
An older instance of this script is already running. Replace it with this instance?
Note: To avoid this message, see #SingleInstance in the help file.
—————————
是(Y) 否(N)
—————————
什么意思,另外我试了一下,别的没有问题。
因为你运行了两次泡面计时器。只要选择 y 就可以了。
为什么会运行了两次捏?我猜你今天泡了两次。。。或者是鼠标不灵活了,点一下,变4下。
sfufoet reply on 六月 26th, 2008,12:28 下午:
http://www.appinn.com/u/
http://www.appinn.com/f/
http://www.appinn.com/g/
sfufoet reply on 六月 29th, 2008,6:56 下午:
run, %A_ScriptDir%\firefox.exe -profile “%A_ScriptDir%\Profiles”
这样就行了。
另:还是会生成C:\Documents and Settings\你的用户名\Application Data\Mozilla\Firefox\目录
#NoTrayIcon
run, %A_ScriptDir%\firefox.exe -profile “%A_ScriptDir%\Profiles”
Cataero reply on 七月 2nd, 2008,5:38 下午:
sfufoet reply on 七月 2nd, 2008,5:48 下午:
run %A_ScriptDir%\firefox.exe -profile “%A_ScriptDir%\Profiles”
sfufoet reply on 七月 4th, 2008,11:37 上午: