Author Topic: Firefox - remember Alt.Binz as default app for NZB  (Read 6043 times)

Offline Gordonx42

  • Contributor
  • ***
  • Posts: 6
Firefox - remember Alt.Binz as default app for NZB
« on: November 01, 2007, 05:04:43 pm »
Small little request here. I use firefox, and I would like to have the browser remember my default app for NZB files. Unfortunately, due to a bug in firefox it won't remember unless there is a description in the executable of the app. Could a description be added to the Alt.Binz executable to allow this?

Quote
When you set a new Action and check the box to have firefox "Do This Automatically... " Firefox saves the appropriate entries to mimeTypes.rdf. IF the file handler set for this filetype has NO Description Text in its properties, subsequent readings of mimeTypes.rdf via "Tools | Options | View/Edit Actions" will display nothing.

I used Azureus.exe as my first test case. It had no text in its properties list (as shown in Windows Explorer), and caused the behavior noted above in Firefox. I used Exescope to hack some descriptive text into Azureus.exe, and voila... Firefox now behaved correctly. I tried this with a couple more exe's, and was satisfied of my findings.

Firefox apparently populates part of the list within this box using data it reads from the actual executable files referenced as "File Handlers." Specifically, Firefox reads the Description Field. When it finds no descriptive text in an executable, Firefox craps out and doesn't list anything. I haven't had a chance to look at the source code yet to see why. Hacking some text into the descriptionless executables results in a happy Firefox, and a populated list. This is NOT a solution. Firefox needs to be fixed so that it fails more gracefully and moves on to the next list item, instead of crapping out like that.

Offline cr4zyfr4g

  • Global Moderator
  • *****
  • Posts: 781
  • German n00b
Firefox - remember Alt.Binz as default app for NZB
« Reply #1 on: November 01, 2007, 05:31:28 pm »
Do you have "register NZB extention to Alt.binz" activated in Setup -> NZB?

normally all you should do in firefox is opening the nzb file. it will be autom. imported into alt.binz

Offline Gordonx42

  • Contributor
  • ***
  • Posts: 6
Firefox - remember Alt.Binz as default app for NZB
« Reply #2 on: November 01, 2007, 05:49:30 pm »
Yes, I have NZB files associated with Alt.Binz through the setup and that works correctly. (double clicking nzb files opens alt.binz). But my problem is with respect to firefox only. Firefox does not remember to open the default application automatically. i did some research and discovered it was a bug in firefox that would not remember the selection if the default app was missing description info in the exe.

Offline Rdl

  • Administrator
  • *****
  • Posts: 4050
Firefox - remember Alt.Binz as default app for NZB
« Reply #3 on: November 01, 2007, 07:00:24 pm »
Done.