搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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?