搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

所有回覆 (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?