搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How to Run an Application from Firefox?

more options

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>
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)

more options

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.

more options

Im not a JS developer, but that would be kinda risky to open files off a computer using a script.

more options
more options

选择的解决方案

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.

more options

We are glad to see that your problem has been solved.
Thank you for using the Mozilla support forums.