Отзывы на «Content-Type Fixer»
Content-Type Fixer от jscher2000
Отзывы qwerty
Оценено на 5 из 5
от qwerty, 7 лет назадVery 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?
Ответ разработчика
размещено 7 лет назадHi 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