為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Change the color of the Downloads arrow

  • 3 回覆
  • 2 有這個問題
  • 2 次檢視
  • 最近回覆由 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?