browser.helperApps.neverAsk.openFile

Discussion of general topics about Seamonkey
Post Reply
captjlddavis
Posts: 122
Joined: January 2nd, 2003, 3:50 pm
Location: U.S. Westcoast

browser.helperApps.neverAsk.openFile

Post by captjlddavis »

Hello to all,

I posted on one of the Mozilla NG and did not get any reply, so I thought I would post here.

Running win98se - Mozilla 1.5

Can anyone tell me what is the purpose of and correct syntax for these
setting:

browser.helperApps.neverAsk.openFile
browser.helperApps.neverAsk.saveToDisk

They are a "string" value and set to "" in the
".........\defaults\pref\all.js".

I understand the "browser.helperApps.alwaysAsk.force" setting.

Any help greatly appreciated.

regards:captjlddavis
bomfog
Posts: 455
Joined: November 7th, 2002, 3:22 pm
Location: the palouse, SE. WA, USA

Re: browser.helperApps.neverAsk.openFile

Post by bomfog »

captjlddavis wrote:Can anyone tell me what is the purpose of and correct syntax for these
setting:

browser.helperApps.neverAsk.openFile
browser.helperApps.neverAsk.saveToDisk

They are a "string" value and set to "" in the
".........\defaults\pref\all.js".


According to the <a href="http://preferential.mozdev.org/">preferential extension</a>, the purpose is to avoid that "What do I do with this" dialogue for files of specific mimetypes. openFile should automatically use whatever helper app you've configured for that mimetype, saveToDisk should do just that.

I don't know the syntax for sure (my prefs for this are empty) but I'm betting the value would be a comma-separated list of mimetypes: application/octet-stream,text/plain, ....

Isn't there a checkbox in the dialogue for "Always use this app" or similar? I'd play around with that and see if it doesn't populate the pref for you. If it does, then there's your format for the string.

I should have checked these suggestions out myself, but I'm lazy. Hence, hope this helps, but no warranties, express or implied :)
captjlddavis
Posts: 122
Joined: January 2nd, 2003, 3:50 pm
Location: U.S. Westcoast

Post by captjlddavis »

bomfog,

Thanks for the reply. I think along the same lines as you do. Sounds very logical. I have tried everything that I can think of but all with no success.

I thought It may be for a future implimentation but have been unable to get anyone at Mozilla to confirm it.

Thanks again - I will continue to dink with it and maybe I can come up with something.

regards:captjlddavis
biesi
Posts: 16
Joined: April 3rd, 2003, 10:21 am

Re: browser.helperApps.neverAsk.openFile

Post by biesi »

captjlddavis wrote:browser.helperApps.neverAsk.openFile
browser.helperApps.neverAsk.saveToDisk


Those are not really used anymore. When mozilla finds them, they are converted to mimeTypes.rdf.
captjlddavis
Posts: 122
Joined: January 2nd, 2003, 3:50 pm
Location: U.S. Westcoast

Post by captjlddavis »

biesi,

Thanks.

That makes about as much sense as anything I have found so.

Are they still in the latest nightlies ?

regards:captjlddavis
biesi
Posts: 16
Joined: April 3rd, 2003, 10:21 am

Post by biesi »

captjlddavis wrote:Are they still in the latest nightlies ?


Well, current nightlies never set these prefs. But when they are found, they are migrated to mimeTypes.rdf.
Post Reply