X
Tocca qui per la versione per piattaforma mobile del sito.
Top Contributor Feature will be unavailable for a short amount of time today until further notice.

Forum di supporto

add file type to download automation

Inserita

Can this be done?...in particular for zip.

Can this be done?...in particular for zip.
Immagini allegate
Citazione
Pkshadow 1069 soluzioni 14836 risposte

Yes it can : https://support.mozilla.org/en-US/kb/applications-panel-set-how-firefox-handles-files

From Applications. If Zip is not in there install a zip program, allow for context menus. Try : www.peazip.org/

Yes it can : https://support.mozilla.org/en-US/kb/applications-panel-set-how-firefox-handles-files From Applications. If Zip is not in there install a zip program, allow for context menus. Try : www.peazip.org/
È stato utile questo messaggio?
Citazione
jscher2000
  • Top 10 Contributor
7775 soluzioni 63329 risposte

When Firefox comes across an unknown content type, it typically will ask you how you want to open it, and suggest the program(s) it found in the Windows registry. So you shouldn't need to do anything special for "application/zip" or other content types registered on your system by corresponding applications.

Some sites do not send the "application/zip" Content-Type header with a ZIP file and in that case, Firefox may not have a logical suggestion for how to open the file.

When Firefox comes across an unknown content type, it typically will ask you how you want to open it, and suggest the program(s) it found in the Windows registry. So you shouldn't need to do anything special for "application/zip" or other content types registered on your system by corresponding applications. Some sites do not send the "application/zip" Content-Type header with a ZIP file and in that case, Firefox may not have a logical suggestion for how to open the file.
È stato utile questo messaggio?
Citazione

Utente che ha posto la domanda

This is for downloading files via Airdroid. I have 7zip installed,

This is for downloading files via Airdroid. I have 7zip installed,
È stato utile questo messaggio?
Citazione
WestEnd
  • Top 10 Contributor
57 soluzioni 3100 risposte

Never heard Airdroid that I know of?

Never heard Airdroid that I know of?
È stato utile questo messaggio?
Citazione
jscher2000
  • Top 10 Contributor
7775 soluzioni 63329 risposte

How is Airdroid (https://www.airdroid.com/) connecting with Firefox? I'm not clear on which platform's settings are the important ones.

How is Airdroid ([https://www.airdroid.com/]) connecting with Firefox? I'm not clear on which platform's settings are the important ones.
È stato utile questo messaggio?
Citazione

Utente che ha posto la domanda

Airdroid is a mobile app. I use it mostly to transfer files from my phone to my desktop.

But behavior is the same elsewhere......

Airdroid is a mobile app. I use it mostly to transfer files from my phone to my desktop. But behavior is the same elsewhere......
È stato utile questo messaggio?
Citazione
jscher2000
  • Top 10 Contributor
7775 soluzioni 63329 risposte

You're on Windows 7? Try this:

In Windows Explorer, find a ZIP file, right-click it, expand Open With, and click "Choose default program..." to change from Windows Explorer to your preferred zip program.

Does that work?

Firefox should follow Windows' lead after that.

You're on Windows 7? Try this: In Windows Explorer, find a ZIP file, right-click it, expand Open With, and click "Choose default program..." to change from Windows Explorer to your preferred zip program. Does that work? Firefox should follow Windows' lead after that.
È stato utile questo messaggio?
Citazione

Utente che ha posto la domanda

It defaults to that program, but wants to open, not save, and hence won't allow 'do this automatically'. The program also does not show up in Options > Applications.

It defaults to that program, but wants to open, not save, and hence won't allow 'do this automatically'. The program also does not show up in Options > Applications.

Modificato da A_Culture_Mind il

È stato utile questo messaggio?
Citazione
jscher2000
  • Top 10 Contributor
7775 soluzioni 63329 risposte

Does using the zip application change anything on the Options page?

If not, it is theoretically possible to edit the handlers.json file which stores download actions but it's just as possible to corrupt the file as to resolve the issue so I certainly can't guarantee results.

If you want to try it:

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, on the Profile Folder row, click the "Open Folder" button. This should launch a new window listing various files and folders in Windows Explorer.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > Exit
  • (menu bar) File > Exit

Pause while Firefox finishes its cleanup, then right-click handlers.json and Copy. Then press Ctrl+v to paste and Windows should create a backup for you (handlers - Copy.json).

Now you'll want to open handlers.json in a text editor, preferably something that won't try to insert any formatting. You could try using Notepad. It might be easiest to launch Notepad from the Start menu, then drag and drop handlers.json into the blank document area to open it.

On Notepad's Format menu, enable Word Wrap if you can't see the end of the text, which should be

}}}

for example:

,"itmss":{"action":4,"ask":true}}}

You want to insert a new item as the last one on the list, before the last two }} characters, like so:

,"itmss":{"action":4,"ask":true},"application/zip":{"action":0,"extensions":["zip"]}}}

Before saving, turn off Word Wrap to avoid adding any new line breaks into the file. Then File > Save the document and File > Exit.

Start Firefox back up again. Does ZIP now appear on the Options page with Save File selected?

Does using the zip application change anything on the Options page? If not, it is theoretically possible to edit the '''handlers.json''' file which stores download actions but it's just as possible to corrupt the file as to resolve the issue so I certainly can't guarantee results. ''If you want to try it:'' Open your current Firefox settings (AKA Firefox profile) folder using either * "3-bar" menu button > "?" Help > Troubleshooting Information * (menu bar) Help > Troubleshooting Information * type or paste about:support in the address bar and press Enter In the first table on the page, on the Profile Folder row, click the "Open Folder" button. This should launch a new window listing various files and folders in Windows Explorer. Leaving that window open, switch back to Firefox and Exit, either: * "3-bar" menu button > Exit * (menu bar) File > Exit Pause while Firefox finishes its cleanup, then right-click '''handlers.json''' and Copy. Then press Ctrl+v to paste and Windows should create a backup for you (handlers - Copy.json). Now you'll want to open handlers.json in a text editor, preferably something that won't try to insert any formatting. You could try using Notepad. It might be easiest to launch Notepad from the Start menu, then drag and drop '''handlers.json''' into the blank document area to open it. On Notepad's Format menu, enable Word Wrap if you can't see the end of the text, which should be <code>}}}</code> for example: <code>,"itmss":{"action":4,"ask":true}}}</code> You want to insert a new item as the last one on the list, before the last two }} characters, like so: <code>,"itmss":{"action":4,"ask":true}''',"application/zip":{"action":0,"extensions":["zip"]}'''}}</code> Before saving, turn off Word Wrap to avoid adding any new line breaks into the file. Then File > Save the document and File > Exit. Start Firefox back up again. Does ZIP now appear on the Options page with Save File selected?
È stato utile questo messaggio?
Citazione
Richiedi supporto

Bisogna accedere al proprio account per rispondere nelle discussioni. Se non si possiede ancora un account, inserire una nuova richiesta.