This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

onclick='javascript:return openExplorer();' works in IE but not in Firefox

more options

This is a developer question. Firefox does not understand the adress. This JS function opens a local or network folder. Very usable locally. Kind Regards Torbjorn Ljung Stockholm, Sweden

This is a developer question. Firefox does not understand the adress. This JS function opens a local or network folder. Very usable locally. Kind Regards Torbjorn Ljung Stockholm, Sweden

All Replies (1)

more options

Are you using something like this ten-year-old code:

https://forums.asp.net/t/1078619.aspx

When I try something similar, Firefox's Web Console (more info on MDN) displays:

Error: Access to 'file:///C:/Windows/' from script denied

Not surprising, really...

What is the point of having this function in your web app?