Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

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>

Chosen solution

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.

Read this answer in context 👍 1

All Replies (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

Chosen Solution

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.