Critiques pour Content-Type Fixer
Content-Type Fixer par jscher2000
Avis de qwerty
Noté 5 sur 5
par qwerty, il y a 6 ansVery nice add-on! I created and installed a desktop java application called xyzapp.exe, and associated it in the OS with custom file extension .xyzapp. I used Content-Type Fixer to define content type application/x-xyzapp, and used the Firefox options to configure Firefox to open (rather than download) .xyzapp files with my xyzapp application. However, they get automatically downloaded anyways. If I tell Firefox to open .xyzapp files with any other app (e.g. Notepad), it works fine. Is this a content-type issue, or does Firefox not permit the launch of privately-developed apps?
Réponse du développeur
mis en ligne : il y a 6 ansHi qwerty, I thought the same way you set up Notepad to open a new content-type should work for any application. Firefox would normally save the file in the TEMP folder and launch it using the Windows shell by passing the path to the file to your app. Does that work on the command line:
C:\path\to\xyzapp.exe %TEMP%\myfile.xyzapp
C:\path\to\xyzapp.exe %TEMP%\myfile.xyzapp