How to Run an Application from Firefox?
Hi I want to run an application from my Firefox browser, for example i want to run Notepad.exe from Firefox. I have written the following program and it is successfully opening the Notepad from Internet Explorer, but when i try to open the same page from Firefox browser, nothing happens.Firefox fails to open it.Is there any way of opening Applications in Firefox? Kindly tell me how to open an Application from Firefox Browser.
<script type="text/javascript" language="javascript"> function RunFile() { WshShell.Run("C:\Windows\System32\KinectClothing2.exe", 1, false); } </script>
Избрано решение
Perhaps the "External Application Buttons 2" extension at https://addons.mozilla.org/en-US/firefox/addon/external-application-button/ which is based on the original extension started by Torisugari over ten years ago.
Прочетете този отговор в контекста 👍 1Всички отговори (5)
For our users' safety, we do not allow websites to run code that opens an application without the users' consent.
Users can adjust settings to choose which application opens when they attempt to open a file.
Ex. A .pdf file would open with Adobe Reader.
Im not a JS developer, but that would be kinda risky to open files off a computer using a script.
See also:
Избрано решение
Perhaps the "External Application Buttons 2" extension at https://addons.mozilla.org/en-US/firefox/addon/external-application-button/ which is based on the original extension started by Torisugari over ten years ago.
We are glad to see that your problem has been solved.
Thank you for using the Mozilla support forums.