Running a shell script from browser automatically
I have a linux application. The installer for this application is streamed from the server with a mime type of "application/x-sh".
When the browser receives this streamed data, it displays a message asking the user to 1. select a program to open with and displayes a browse button or 2. save it to disk.
I want to change this behavior, so that the user is presented with an option to open with "sh" automatically. The user should not be made to click the browse button and than select /bin/sh. It would be even better if the browser runs this automatically with the /bin/sh program.
It can be configured from the browser (setting the behavior for .sh file types).
But I do not have any control over the user's browser settings.
Is there a way to enforce the desired behavior.
I will appreciate any help/suggestions on it.