为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

remove the "Clear List" button downloads list

  • 5 个回答
  • 4 人有此问题
  • 5 次查看
  • 最后回复者为 rogyaeger

more options

Previous question: "Is there a way to remove or disable the "Clear List" button from the downloads list?" has been closed.

I have the same problem, but the information appears out of date. I am using Firefox Version 17.0.1, as per "Help > About Firefox. It shows "Up to date."

From "Troubleshooting Information: Name Firefox Version 17.0.1 User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0

Previous solution is as follows:

1. go into Help > Troubleshooting Information... 2. click Open Containing Folder 3. in the folder that appears (new windo in windows explorer), go into the folder chrome 4. open the file userChrome.css with a text editor 5. at the end of the file, in a new line, add the following code:

button#clearListButton

Step 1 opens the "Troubleshooting Information folder. Step 2 states to "Open Containing Folder" - there is nothing labeled as such; there is "Show Folder" button. This button opens this folder: "C:\Users\(username)\AppData\Roaming\Mozilla\Firefox\Profiles\81bsj68l.default". (The (username) was removed from the path.) Step 3 states to go to "folder chrome". There are three "chrome" folders within my "..\AppData\ folder. These folders appear to be placed by "flagfox", "seamonkey???", and "ghostery". "C:\Program Files (x86)\Mozilla Firefox\ does not contain any "chrome" folders. Step 4 states to open "userChrome.css" - I am not able to locate this file in "C:\Users\(username)\AppData\..." or "C:\Program Files (x86)\Mozilla Firefox\...".

Request assistance removing the "Clear List" button from the "Downloads" window.

Thank you very much,

Roger Yaeger

Previous question: "Is there a way to remove or disable the "Clear List" button from the downloads list?" has been closed. I have the same problem, but the information appears out of date. I am using Firefox Version 17.0.1, as per "Help > About Firefox. It shows "Up to date." From "Troubleshooting Information: Name Firefox Version 17.0.1 User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0 Previous solution is as follows: 1. go into Help > Troubleshooting Information... 2. click Open Containing Folder 3. in the folder that appears (new windo in windows explorer), go into the folder chrome 4. open the file userChrome.css with a text editor 5. at the end of the file, in a new line, add the following code: button#clearListButton Step 1 opens the "Troubleshooting Information folder. Step 2 states to "Open Containing Folder" - there is nothing labeled as such; there is "Show Folder" button. This button opens this folder: "C:\Users\(username)\AppData\Roaming\Mozilla\Firefox\Profiles\81bsj68l.default". (The (username) was removed from the path.) Step 3 states to go to "folder chrome". There are three "chrome" folders within my "..\AppData\ folder. These folders appear to be placed by "flagfox", "seamonkey???", and "ghostery". "C:\Program Files (x86)\Mozilla Firefox\ does not contain any "chrome" folders. Step 4 states to open "userChrome.css" - I am not able to locate this file in "C:\Users\(username)\AppData\..." or "C:\Program Files (x86)\Mozilla Firefox\...". Request assistance removing the "Clear List" button from the "Downloads" window. Thank you very much, Roger Yaeger

被采纳的解决方案

Try this code in userChrome.css

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

#clearListButton { display:none!important; }
定位到答案原位置 👍 2

所有回复 (5)

more options

How old was that previous question?

The chrome folder was removed from the Profile folder back in Firefox 4.0. Each user needs to create the chrome folder if they want to add a userChrome.css or userContent.css file for "user" customizations. Then the userChrome.css file itself has to be created.

Also, that particular label might have been changed - Mozilla has been renaming labels such as that recently.

more options

How old: The window shows 9 months, but I don't see any starting / ending dates. [ https://support.mozilla.org/en-US/questions/709343 ]

So, what you are saying is that I need to add a new folder [chrome] under my "..\profiles\~~~.default\" folder (along side "extensions", and etc...), and then add a file named "userContent.css" with one "linebutton#clearListButton" ?

I tried this, but I'm not familiar with CSS commands, and may have it mucked up. The button still shows on my Downloads windows.

more options

That thread is from 2 1/2 years ago - 6/27/10 - 9 months before Firefox 4.0 came out (when that folder and example file were still part of the default installation). This line needs to be at the beginning of userChrome.css for it to function.


/* * Do not remove the @namespace line -- it's required for correct functioning */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

more options

选择的解决方案

Try this code in userChrome.css

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

#clearListButton { display:none!important; }
more options

The button on my downloads window has been removed. Thanks!