remove the "Clear List" button downloads list
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)
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.
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.
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 */
منتخب شدہ حل
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; }
The button on my downloads window has been removed. Thanks!