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 பதிலளிப்புகள்
  • 1 இந்த பிரச்சனை உள்ளது
  • 1 view
  • Last reply by Terry

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)

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?

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