How do you open a file folder through a link on website in Firefox and Chrome?
问题 I'm working on a web application that needs to have a link which opens a documents folder from a file server. The folder can be opened either in a new browser tab or new window, or using the computer's default file browser program (i.e. Windows Explorer). This javascript should do the trick: window.open('file://///fileserver.companyname/public/Documents/','_blank); and this html should also work: <a href="file://///fileserver.companyname/public/Documents/">Open Documents</a> but these both