搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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.

所有回复 (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.