Content-Type Fixer-ის მიმოხილვები
Content-Type Fixer ავტორი jscher2000
მიმომხილველი qwerty
5 შეფასება 5-დან
მიმომხილველი qwerty, 6 წლის წინ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?
შემმუშავებლის პასუხი
თარიღი 6 წლის წინ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