Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 1 trả lời
  • 1 gặp vấn đề này
  • 13 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Tất cả các câu trả lời (1)

more options