X
Toque aqui para ver a versão para dispositivos móveis desse site.

Fórum de suporte

How to insert JPG action on MimeType.rdf?

Postado

I would like to insert an action on Firefox > Option > Applications to JPG files. Everytime I try to download a JPG file, Firefox show only Open and Save options, but I would like to select to download automatically to every JPG files.

I would like to insert an action on Firefox > Option > Applications to JPG files. Everytime I try to download a JPG file, Firefox show only Open and Save options, but I would like to select to download automatically to every JPG files.

Detalhes avançados do sistema

Extensões instaladas

  • Google Talk Plugin Video Accelerator version:0.1.44.24
  • Version 3.17.0.12440
  • Shockwave Flash 11.6 r602
  • Next Generation Java Plug-in 10.17.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Google Update
  • 5.1.20125.0
  • Foxit Reader Plug-In For Firefox and Netscape
  • NPWLPG
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers

Aplicativo

  • Firefox 20.0
  • Agente de Usuário: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
  • URL de Suporte: http://support.mozilla.org/1/firefox/20.0/WINNT/pt-BR/

Extensões

  • Troubleshooter 1.1a (troubleshooter@mozilla.org)

Javascript

  • incrementalGCEnabled: True

Gráficos

  • adapterDescription: ATI Radeon X1200 Series
  • adapterDescription2:
  • adapterDeviceID: 0x791f
  • adapterDeviceID2:
  • adapterDrivers: atiumdag atiumdva atiumd64 atiumd6a atitmm64
  • adapterDrivers2:
  • adapterRAM: Unknown
  • adapterRAM2:
  • adapterVendorID: 0x1002
  • adapterVendorID2:
  • direct2DEnabled: False
  • direct2DEnabledMessage: [u'tryNewerDriver', u'10.6']
  • directWriteEnabled: False
  • directWriteVersion: 6.2.9200.16492
  • driverDate: 12-1-2008
  • driverDate2:
  • driverVersion: 8.561.0.0
  • driverVersion2:
  • info: {u'AzureContentBackend': u'none', u'AzureCanvasBackend': u'cairo', u'AzureFallbackCanvasBackend': u'none'}
  • isGPU2Active: False
  • numAcceleratedWindows: 0
  • numAcceleratedWindowsMessage: [u'tryNewerDriver', u'9.6']
  • numTotalWindows: 1
  • webglRendererMessage: [u'tryNewerDriver', u'9.6']
  • windowLayerManagerType: Basic

Preferências Modificadas

  • accessibility.typeaheadfind.flashBar: 0
  • browser.cache.disk.capacity: 358400
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 358400
  • browser.places.smartBookmarksVersion: 4
  • browser.startup.homepage_override.buildID: 20130326150557
  • browser.startup.homepage_override.mstone: 20.0
  • dom.mozApps.used: True
  • dom.w3c_touch_events.expose: False
  • extensions.lastAppVersion: 20.0
  • network.cookie.prefsMigrated: True
  • places.database.lastMaintenance: 1364997234
  • places.history.expiration.transient_current_max_pages: 50288
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • privacy.sanitize.migrateFx3Prefs: True

Diversos

  • User JS: Não
  • Acessibilidade: Não
Ralph Daub
  • Locale Leader
158 soluções 1182 respostas

Hi DiegoM,

I'm not sure how to do this, but the following articles might help pointing you in the right direction:

I hope that you find this information useful. Please let us know if this solves your problem.

Thanks!!

- Ralph

Hi DiegoM, I'm not sure how to do this, but the following articles might help pointing you in the right direction: * [http://kb.mozillazine.org/MimeTypes.rdf Mime Types on MozillaZine] * [http://www.freedesktop.org/wiki/Specifications/AddingMIMETutor?action=show&redirect=Standards%2FAddingMIMETutor Adding MIMEs] I hope that you find this information useful. Please let us know if this solves your problem. Thanks!! - Ralph

Autor da pergunta

For some reason, I tried to add this code but didn't work. Is there anything wrong?

<RDF:Description RDF:about="urn:mimetype:image/jpg"

                  NC:fileExtensions="jpg"
                  NC:description="JPG Image"
                  NC:value="image/jpg"
                  NC:editable="true">
   <NC:handlerProp RDF:resource="urn:mimetype:handler:image/jpg"/>
 </RDF:Description>
For some reason, I tried to add this code but didn't work. Is there anything wrong? <RDF:Description RDF:about="urn:mimetype:image/jpg" NC:fileExtensions="jpg" NC:description="JPG Image" NC:value="image/jpg" NC:editable="true"> <NC:handlerProp RDF:resource="urn:mimetype:handler:image/jpg"/> </RDF:Description>

Autor da pergunta

Well, I could put JPG to show at Applications, but it's showing only Open and Save when I try to download JPG file clicking over a link.

Checkbox to do some action automatically is disabled. How can I set it to download always?

Well, I could put JPG to show at Applications, but it's showing only Open and Save when I try to download JPG file clicking over a link. Checkbox to do some action automatically is disabled. How can I set it to download always?