Ky sajt do të funksionojë me kufizime, teksa bëjmë mirëmbajtjen e tij për të përmirësuar punën tuaj. Nëse një artikull nuk e zgjidh problemin tuaj dhe dëshironi të bëni një pyetje, kemi bashkësinë tonë të asistencës, e gatshme për t’ju ndihmuar, te @FirefoxSupport në Twitter dhe/r/firefox në Reddit.

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

How do I programatically add a download action to firefox desktop as part of my application install (like http://mzl.la/NxCODA but from code).

  • 2 përgjigje
  • 3 e kanë hasur këtë problem
  • 3 parje
  • Përgjigjja më e re nga patpiccolo

more options

I have a Windows application that is intended to work with a specific MIME type. I need to register that MIME type and tell FireFox that when it receives content with this MIME type to NOT display the Open/Save dialog, and instead just pass the stream on to my application, much the same way iTunes registers application/x-itunes-itlp to automatically open iTunes

I have a Windows application that is intended to work with a specific MIME type. I need to register that MIME type and tell FireFox that when it receives content with this MIME type to NOT display the Open/Save dialog, and instead just pass the stream on to my application, much the same way iTunes registers application/x-itunes-itlp to automatically open iTunes

Krejt Përgjigjet (2)

more options

That would require to add this MIME type to the mimeTypes.rdf file.

If this application is set as the default program for this MIME type and file extension (HKEY_CLASSES_ROOT) then Firefox should offer it automatically as the first choice and users should only need to tick the box to do automatically use this choice.

more options

Thanks cor-el. The documentation here: http://kb.mozillazine.org/MimeTypes.rdf implies my only options are

a) Allow Firefox (via the UI) to make the changes to the file

b) Take the much more risky approach of editing the file manually.

Yes, I can certainly crack open the mimetype.rdf from code, but the reality is, that is a proprietary file whose structure and use is wholly controlled by mozilla. I would much rather prefer an API that I can at least be involved in notification when its changing instead of just waking up one day and the structure and use of the file is changed.

Since mimetype.rdf doesn't have a version number... how do I know that the changes I'd make today for FireFox 23 to support my custom mimetype work when FireFox 30 comes out? If access to that file was through an API I wouldn't care if FireFox 30 uses a database instead of an RDF file... my code would still work. Does such an API exist, or am I stuck with hacking at the mimetype.rdf