Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Links to local filesystems on recent firefox versions without extensions(78+)

  • 1 个回答
  • 1 人有此问题
  • 13 次查看
  • 最后回复者为 cor-el

more options

Hello, So I've been trying to activate local links which would open a local directory in file explorer. I'm trying to do this on a wiki based on MediaWiki running on a local Nginx sever(laragon). The links work as intended on IE, i.e, I click on the link and it opens a file explorer window with the linked directory. However nothing happens when I click on the link using Firefox. Instead I get this error message :

   Security Error: Content at http://url.com may not load or link to file://///.../directory.

I have tried adding these lines to prefs.js but it didn't have any effect : user_pref("capability.policy.policynames", "localfilelinks"); user_pref("capability.policy.localfilelinks.sites","http://localhost"); user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");

Is there any possible workaround to activate local links without using an extension?

Hello, So I've been trying to activate local links which would open a local directory in file explorer. I'm trying to do this on a wiki based on MediaWiki running on a local Nginx sever(laragon). The links work as intended on IE, i.e, I click on the link and it opens a file explorer window with the linked directory. However nothing happens when I click on the link using Firefox. Instead I get this error message : Security Error: Content at http://url.com may not load or link to file://///.../directory. I have tried adding these lines to prefs.js but it didn't have any effect : user_pref("capability.policy.policynames", "localfilelinks"); user_pref("capability.policy.localfilelinks.sites","http://localhost"); user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess"); Is there any possible workaround to activate local links without using an extension?

所有回复 (1)

more options