Content-Type Fixer incelemeleri
Content-Type Fixer geliştiren: jscher2000
qwerty adlı kullanıcının incelemesi
5 üzerinden 5 puan
yazan: qwerty, 6 yıl önceVery 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?
Geliştiricinin yanıtı
gönderilme: 6 yıl önceHi 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