为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

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.