This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Trying to open a local file but the adress keeps getting wrongly formatted

  • 2 replies
  • 1 has this problem
  • 1 view
  • Last reply by Terry

more options

Hey,

I'm trying to automate the opening of a file whose local adress is file:///config/dowloads/... The problem is that firefox keeps reformating that Url.

First it was putting Http:// and www. in front of it with .com at the end. So i went to about:config and disabled browser.fixup.alternate.enabled.

But now, instead of file:///config , it puts file///config. It removes the colon

I tried enabling and disabling some more config options(in browser.urlbar and browser.fixup) but to no results.

It's very frustating, i just want to go the the goddamn page i asked, not a reformatted on.

Hey, I'm trying to automate the opening of a file whose local adress is file:///config/dowloads/... The problem is that firefox keeps reformating that Url. First it was putting Http:// and www. in front of it with .com at the end. So i went to about:config and disabled browser.fixup.alternate.enabled. But now, instead of file:///config , it puts file///config. It removes the colon I tried enabling and disabling some more config options(in browser.urlbar and browser.fixup) but to no results. It's very frustating, i just want to go the the goddamn page i asked, not a reformatted on.

All Replies (2)

more options

After more investigation, i found out, that it actually did not remove the http://, but only hid it. So i set browser.urlbar.trim to false. ANd now i get http://file:///config/...

SO what i need is to stop http:// to be added automatically and i'm good. (not simply make it invisble)

Any ideas?

more options

How are you trying to automate the opening of the file? The simplest way is to bookmark it.