We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Change the color of the Downloads arrow

  • 3 个回答
  • 2 人有此问题
  • 8 次查看
  • 最后回复者为 Vardark

more options

When I download something, the arrow pointing to the downloads overview turns blue. The color distracts me, I want it to always stay gray. Is it possible to somehow access the file containing the blue arrow and replace it woth the gray one?

When I download something, the arrow pointing to the downloads overview turns blue. The color distracts me, I want it to always stay gray. Is it possible to somehow access the file containing the blue arrow and replace it woth the gray one?

所有回复 (3)

more options

This is how is was changed before Australis: https://support.mozilla.org/en-US/que.../971586

However I will wait for one of our experts to check out if they know if this is still valid.

more options

You can find the current CSS code for the download indicator in this file:

  • chrome://browser/skin/browser.css

Add code to the userChrome.css file below the default @namespace line.


@namespace url("https://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#downloads-button[cui-areatype="toolbar"][attention] > #downloads-indicator-anchor > #downloads-indicator-icon {
  background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"),0,198,18,180) !important;
}

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.


Note that you can disable the animation by toggling this pref to false on the about:config page:

  • browser.download.animateNotifications = false
more options

I have created the userChrome file as descibed by MozillaZine (neither it nor the Chrome folder existed). I added the code provided by you. I have restarted the browser. Still the arrow turns blue when I download something. Have I misunderstood something?