搜索 | 用户支持

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

详细了解

Firefox searches google instead of loading url with non-internet domain

more options

I have some local services under a local domain name: example.lena

Every time I try to access any of those services that are not in my history, Firefox chooses to search google instead of load up the url, with an option appearing under the toolbar saying: "Did you mean to go to http://example.lena/?

How can I force Firefox to first try the url instead of the google search?

I have some local services under a local domain name: example.lena Every time I try to access any of those services that are not in my history, Firefox chooses to search google instead of load up the url, with an option appearing under the toolbar saying: "Did you mean to go to http://example.lena/? How can I force Firefox to first try the url instead of the google search?

所有回复 (3)

more options

You can try to create a browser.fixup.domainwhitelist pref for this domain like exists by default for localhost.

  • browser.fixup.domainwhitelist.example.lena = true

You can open the about:config page via the location/address bar. If you get the warning page, you can click the "Accept the Risk and Continue" button.

由cor-el于修改

more options

cor-el said

You can try to create a browser.fixup.domainwhitelist pref for this domain like exists by default for localhost.
  • browser.fixup.domainwhitelist.example.lena = true
You can open the about:config page via the location/address bar. If you get the warning page, you can click the "Accept the Risk and Continue" button.

That seems great, but I would have to do this for every service on every client.

Is there a way to add the whole *.lena domain instead of the specific hostname to the whitelist?

Maybe by using browser.fixup.domainsuffixwhitelist.lena instead of browser.fixup.domainwhitelist.example.lena?

由cor-el于修改

more options

sotirone said

Maybe by using browser.fixup.domainsuffixwhitelist.lena instead of browser.fixup.domainwhitelist.example.lena?

That sounds logical. Does it work?