如何更改火狐浏览器的图标?
有没有办法更改 Firefox 系统图标(窗口左上角的图标)?
Precision :我想更改 Firefox 与 apache/php 和我的应用程序的捆绑版本的图标。 所以在每台电脑上手动操作并不是一个解决方案。 我尝试了 Resource Hacker,这是一个很好的解决方案。 附加组件也很好。
Is there any way to change Firefox system icon (the one on the left top of the window)?
Precision : I want to change the icon of a bundled version of Firefox with apache/php and my application. So manual operation on each computer is not a solution.
I try Resource Hacker and it's the good solution. The add ons one is good too.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
资源黑客负责在 Windows 中交换应用程序图标(直到 XP,尚未在 Vista 上进行测试)。
可以在:
http://www.angusj.com/resourcehacker/
Resource hacker does the job of swapping application icons in Windows (up to XP, not tested with Vista yet).
Available at:
http://www.angusj.com/resourcehacker/
@phloopy 的好建议是使用 http://iconpacks.mozdev.org/ 不幸的是不适用于较新的版本Firefox(我认为对omni.jar 进行了更改)。 您仍然可以使用他们的 ICO 文件(或您自己的),但您现在需要执行以下手动步骤...
omni.ja
解压缩到您的 Firefox 应用程序目录中。omni.ja
或重命名(例如omni.ja.off
)。chrome
应用程序目录中创建目录icons/default
。chrome/icons/default/main-window.ico
注意:
main-window.ico
用于浏览器窗口和 ScratchpaddownloadManager.ico
用于下载bookmark-window.ico
不起作用)。omni.ja
的解压)。 理论上,您可以再次将其打包,但我不能 100% 确定一旦omni.ja
优化再次发挥作用(它在 Firefox 10 中已“损坏”,因此omni.ja
) 是否会起作用(它在 Firefox 10 中已“损坏”)。 ja 实际上是普通的 JAR/ZIP 文件)。更多信息请访问http://iconpacks.mozdev.org/docs/faq.html
@phloopy's good suggestion to use http://iconpacks.mozdev.org/ unfortunately doesn't work with newer versions of Firefox (I think to the omni.jar change). You can still use their ICO files (or your own), but you now need to do the following manual steps...
omni.ja
in your Firefox application directory.omni.ja
or rename it (e.g.omni.ja.off
).icons/default
in the Firefoxchrome
application directory.chrome/icons/default/main-window.ico
Notes:
main-window.ico
for browser windows and ScratchpaddownloadManager.ico
for Downloadsbookmark-window.ico
does not work).omni.ja
). In theory you can jar it up again, but I am not 100% sure that will work once they get theomni.ja
optimization working again (it's "broken" in Firefox 10 soomni.ja
is actually normal JAR/ZIP file).More info is available at http://iconpacks.mozdev.org/docs/faq.html
http://iconpacks.mozdev.org/ 提供了通过安装扩展来工作的图标包。 如果您想使用自己的图标,扩展名只是压缩文件,因此将扩展名从 xpi 更改为 zip 并检查其包含的源代码和图像以对其进行自定义。 如果您确实对其进行自定义,我建议更改 GUID,这样它就不会自动更新并覆盖您的自定义设置。
There are icon packs available at http://iconpacks.mozdev.org/ that work by installing an extension. If you want to use your own icon, extensions are just zipped files so change the extension from xpi to zip and examine the source code and images it contains to customize it. If you do customize it, I suggest changing the GUID that so it doesn't auto-update and overwrite your customizations.
我认为你指的是系统图标,而不是其他人认为的网站图标。 在 Mac 上,您可以按住 - 单击 -> 获取有关 Firefox.app 的信息,然后将图像拖或粘贴到图标顶部。
我不确定Windows,但我认为你可能需要从源代码编译才能更改它。
I think you mean the system icon, not the site icon as someone else thought. On a Mac, you can hold-Click -> Get Info on Firefox.app, then drag or paste an image on top of the icon.
I'm not sure about Windows, but I think you may need to compile from source to change it.
如果您谈论的是应用程序图标(在 Windows 下通常位于应用程序窗口的左上角),那么... 不... 是。
与大多数 Windows 应用程序一样,您看到的图标可能是编译到应用程序本身中的资源,因此您无法更改它。
Firefox 中可能有插件可以让您执行此操作,但我对此表示怀疑 - 该图标已注册商标并“标识”了 Firefox“品牌”(如果您愿意的话)。 因此您不太可能在运行时更改它。
Firefox 是开源的; 您始终可以下载并使用 编译您自己的版本,用您自己的图标资源替换图标资源。 有点戏剧性,但有可能。
If you're talking about the application icon (which under Windows is typically located in the top-left corner of the application's window), then... no... and yes.
Like most windows apps, the icon you see there is probably a resource compiled into the application itself, so you can't change it.
There may be add-ins to Firefox that let you do this, but I doubt it - that icon is trademarked and "identifies" the Firefox "brand" (if you will). So it's unlikely that you could change it at run-time.
Firefox is open-source; you could always just download & compile your own version, replacing the icon resource with your own. A bit dramatic, but possible.