Ce sujet de discussion a été archivé. Veuillez poser une nouvelle question si vous avez besoin d’aide.
How to change/set default "box selection" in download/open file menu?
I have set downloads option in options-general to "Always ask me where to save files". This is making a menu pop-up with option "Open with" and "Save file" every time I want to download something, and thats what I want. The thing is that depending on type of file I want to download the box for "open file" is ticked for some files like .doc and .xsp files, and the box "save file" is ticked for other files like .zip files.
Sometimes Im downloading many separate files in a short time and it is annoying to to tick "save file" and select ok instead if having "save file" already ticked and just clicking ok.
How can I change this behavior?
My setup: Firefox 26.0 Download status bar All-in-one sidebar
Toutes les réponses (5)
Current Firefox versions remember the download directory based upon the URL, so if the URL changes then the default folder may be chosen if there hasn't been selected a download folder before for that server.
You can disable this feature to remember the download directory via the Boolean pref browser.download.lastDir.savePerSite on the about:config page. The browser.download.lastDir.savePerSite pref doesn't exist by default (it is a hidden pref), so you need to create it.
Create a new Boolean pref with the name browser.download.lastDir.savePerSite and set the value to false.
You can delete the content-prefs.sqlite file in the Profile Folder to only remove settings stored in this file and keep the exceptions that are stored in permissions.sqlite that would be lost if you clear the "Site Preferences" via Clear Recent History.
Thanks for reply cor-el, it was actually interesting but I cant see that it has anything to do with my question or maybe Im just slow. I know this is my fault, the headline and my description is not very clear...sry
Let me try again.
My question is:
In the "Opening <filename>" dialog, why does some file type repeatedly have the selection box "open file" marked, while other files have "save file" marked?
Modifié le par tar1973
This still has to do with file actions that you set and the defaults that are currently set on your computer, so the articles do apply.
I assume that if there is a default application for this MIME type or file extension or you have previously set an action that Firefox choose the open with selection.
If this is not the case then Firefox doesn't know what program to propose and offers to save the file.
There are also generic MIME types like application/octet-stream or a content-disposition: attachment header that will always have the save file choice selected.
There is a MIME database key in the registry (HKEY_CLASSES_ROOT\MIME\Database\Content Type\) that links a file extension to a MIME type.
ohhh sry my bad. When I cant even spot the relevance after reading through the short articles, this is probably too complicated for me :(
Anyway, I tried the two things you wrote about earlier, both the browser.download.lastDir.savePerSite and content-prefs.sqlite when clearing history. But nothing changed, but Im not 100% sure of my implementation.
Also looked into (HKEY_CLASSES_ROOT\MIME\Database\Content Type\) but it did not see anything I could use.
About: Current Firefox versions remember the download directory based upon the URL, so if the URL changes then the default folder may be chosen if there hasn't been selected a download folder before for that server.
Im not sure how this work, but it remember download directory but my choice clicking "save file" is forgotten. It always go back to "open file" again for next download.
Maybe this whole subject is to complicated for me, but thanks for trying to help. So unless someone have a quick simple fix for this I give up...
FIREFOX IS GETTING WORST ANY NEWER VERSION FROM FIREFOX v25 UPTO NEW FIREFOX v29
THE SAME PROBLEM REMAIN.
PLEASE ANYBODY TO TELL ME HOW I CAN DISABLE THE STUPID FEATURE "Save As wizard" I HAVE ALREADY DONE: browser.download.lastDir.savePerSite=false
FIREFOX IS USELESS , I 'M USING ONLY MAXTHON
Modifié le par axinos