HTML file:// links : open in explorer from Chrome

拟墨画扇 提交于 2019-12-10 00:58:51

问题


I have an html file with links like that :

<a href="N:\folder1\folder2">folder name</a>

I would like that this link opens explorer instead of a custome chrome file html based browser. This works from IE btw.

Thank you ! Nicolas.


回答1:


For Chrome, Safari and Opera this isn't possible due to their security model. However, there is somewhat of a solution for Chrome in that it's possible but it has two requirements:

  1. You need to get the user to install this Chrome extension
  2. It must be over https://

You will probably encounter the same problem for Firefox since it usually requires LocalLink.

Further reading



来源:https://stackoverflow.com/questions/19446357/html-file-links-open-in-explorer-from-chrome

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!