General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Download instead of open
Posted by: kc
Date: November 05, 2002 11:32AM

Hello all,
We have this (minor) problem.
On our intranet we have software installation programs.

When we open the link in IE we have the choice of
- download
- open from location

In Kmeleon I can only download and not install from the intranet.

Anyone with a suggestion or work around?

kc

Options: ReplyQuote
Re: Download instead of open
Posted by: Robert
Date: November 05, 2002 06:15PM

Add the following line in prefs.js or user.js:
user_pref("browser.helperApps.neverAsk.openFile", "application/xxx");

xxx is the extension of the file. For example, "application/wpd" opens wordperfect with *.wpd-files. But it's important, to define the mime-type for the extension in registry too.

But be very careful with those options, because there are no choice of download or open.

The other way, with more security is, to write a macro, which execute a batchfile with the link as an option. The batchfile converts the link into a windows-path (not possible with win9x) and starts the file with the application. You can check before, in the macro, wether exist a host with hostname($LinkURL). An empty string says, that the file is at your intranet.

Options: ReplyQuote
Re: Download instead of open
Posted by: po
Date: November 05, 2002 11:23PM

If some of these installers rely on IE's integration with the operating system, though, then there might not be any way to make them work with anything else...

Options: ReplyQuote


K-Meleon forum is powered by Phorum.