Launch file:// from Firefox or Chrome

孤街浪徒 提交于 2019-12-03 06:13:45

This is not enabled in firefox for security reasons (remember that most computers have files and applications of a sensitive nature located in similar locations, like C:\System\Windows)

you can try adding this to the user.js file for any user that needs to be able to access these links:

user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "file:///[[PUT SERVER NAME HERE]]";);
user_pref("capability.policy.localfilelinks.checkloaduri.enabled",  "allAccess");

Just remember that this is a security risk.

For Chrome, a new extension was just posted today! It's called LocalLinks and it replicates the functionality of the locallink add-on for Firefox! You'll find it on the Google Extensions page, or you can get to it directly here:

https://chrome.google.com/extensions/detail/jllpkdkcdjndhggodimiphkghogcpida

Enjoy!

Firefox seems to want file://///Start/Of/My/Network/file.xlsx

Chrome and IE handles that too. file://Start/Of/My/Network/file.xlsx appears to work in Chrome as well, sometimes firefox hics up on it..

There is the LocalLink add-on for firefox. It uses a context menu though...

Use IE tab (available for Chrome and Firefox) and set that to handle all links of the form file:/// by adding an autourls entry like this:

r/file:///.*

Technically this isn't opening the file in the original browser, but it gives you all the windows explorer integration you'd expect from whatever IE version you've got installed when dealing with local file links. I would advise against doing this except in cases when the browser isn't being used to access the web - e.g. for viewing internal wiki or intranet pages, due to the obvious security risk.

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