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

Firefox doesn't recognize file://~?

  • 2 trả lời
  • 1 gặp vấn đề này
  • 17 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

When I type / in the address bar Firefox immediately realizes that it's a local path and suggests file:///. But neither ~ nor file://~ points to my home directory. I hope Firefox will recognize ~ and save me from typing /home/my_username in the address bar myself.

When I type / in the address bar Firefox immediately realizes that it's a local path and suggests file:///. But neither ~ nor file://~ points to my home directory. I hope Firefox will recognize ~ and save me from typing /home/my_username in the address bar myself.

Được chỉnh sửa bởi sw vào

Giải pháp được chọn

Hi, Firefox is actually governed by standards here, and they explicitly call out that `~` expansion isn't supported in file:// URIs:

https://tools.ietf.org/html/rfc8089#appendix-D.1

Unfortunately, I doubt there is much that can be done about that - it isn't a common feature across all operating systems, which is probably why the RFC has specified it in that manner.

Đọc câu trả lời này trong ngữ cảnh 👍 1

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

more options

Giải pháp được chọn

Hi, Firefox is actually governed by standards here, and they explicitly call out that `~` expansion isn't supported in file:// URIs:

https://tools.ietf.org/html/rfc8089#appendix-D.1

Unfortunately, I doubt there is much that can be done about that - it isn't a common feature across all operating systems, which is probably why the RFC has specified it in that manner.

more options

A possible workaround is to use a keyword (fh) bookmark that adds the file path.

  • file:////home/my_username/%s