We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I open firefox and go to a bookmark directly? Typing: firefox "/home/user/document.htm#bookmark" places /home/user/document%23bookmark in the path.

  • 2 replies
  • 3 have this problem
  • 1 view
  • Last reply by dftyler

more options

Typing: firefox "/home/user/document.htm#bookmark" places file:///home/user/document%23bookmark in the path. Yet the error message says "Firefox can't find the file at /home/user/document#bookmark." So it gets the path right for the error message but wrong for the path. If I go to the path in firefox window and replace the "%23" with the "#" the file loads correctly at the expected bookmark.

Typing: firefox "/home/user/document.htm#bookmark" places file:///home/user/document%23bookmark in the path. Yet the error message says "Firefox can't find the file at /home/user/document#bookmark." So it gets the path right for the error message but wrong for the path. If I go to the path in firefox window and replace the "%23" with the "#" the file loads correctly at the expected bookmark.

Chosen solution

Does it make any difference if you include the file:// protocol, i.e., use a fully formed URL?

Read this answer in context 👍 0

All Replies (2)

more options

Chosen Solution

Does it make any difference if you include the file:// protocol, i.e., use a fully formed URL?

more options

Yes, that made all the difference! Thank you very much.