Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Why does enter "hulu/" in the firefox searchbar automatically redirect to hulu.com?

more options

I stumbled across a situation where entering "riot/" in the firefox search bar automatically redirected me to riotgames.com. After some experimenting I found that this occurs for a number of sites, but not all. Specifically, "google/" and "youtube/" do nothing, whereas "apple/", "hulu/", and "mozilla/" all redirect to their respective websites. Is there documentation that exists on this feature?

I stumbled across a situation where entering "riot/" in the firefox search bar automatically redirected me to riotgames.com. After some experimenting I found that this occurs for a number of sites, but not all. Specifically, "google/" and "youtube/" do nothing, whereas "apple/", "hulu/", and "mozilla/" all redirect to their respective websites. Is there documentation that exists on this feature?

被選擇的解決方法

When you add the slash at the end, it gets replaced with ".com". It's intended to help you in case you've made a typo, I believe.

It works with every website that I've tested, except for Google domains (YouTube is owned by Google). I assume this is because Google owns "google" as a domain. For example, it has "domains.google". So Firefox detects "http://google" as a valid website. The problem is that Google doesn't appear to have set it up to redirect anywhere, so you don't get a page.

I would assume it's a similar story for YouTube as well.

The only other thing that you've probably noticed is that "riot/" doesn't load "riot.com". That's simply because Riot Games also owns riot.com and just uses it to point to their website. So Firefox loads it, but then is told to redirect to a different website.

What top level domain is added at the end can be changed with the browser.fixup.alternate.suffix preference in the Configuration Editor for Firefox. And if you were interested in turning this feature off, you can set browser.fixup.alternate.enabled to false.

Hope this was the information you are looking for.

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

選擇的解決方法

When you add the slash at the end, it gets replaced with ".com". It's intended to help you in case you've made a typo, I believe.

It works with every website that I've tested, except for Google domains (YouTube is owned by Google). I assume this is because Google owns "google" as a domain. For example, it has "domains.google". So Firefox detects "http://google" as a valid website. The problem is that Google doesn't appear to have set it up to redirect anywhere, so you don't get a page.

I would assume it's a similar story for YouTube as well.

The only other thing that you've probably noticed is that "riot/" doesn't load "riot.com". That's simply because Riot Games also owns riot.com and just uses it to point to their website. So Firefox loads it, but then is told to redirect to a different website.

What top level domain is added at the end can be changed with the browser.fixup.alternate.suffix preference in the Configuration Editor for Firefox. And if you were interested in turning this feature off, you can set browser.fixup.alternate.enabled to false.

Hope this was the information you are looking for.

more options

Thanks for the response Wesley! I did some additional testing after disabling the `browser.fixup.alternate.enabled` config and it does appear to prevent those from resolving as you mentioned.

One additional point that is still confusing me is that using nslookup to perform DNS queries still resolves these addresses. In this output you can see that my ISP is trying to append a suffix, "attlocal.net", which is failing and then the request for http://riot seems to be succeeding.

``` $ nslookup -debug http://riot Server: 192.168.1.254 Address: 192.168.1.254#53


   QUESTIONS:

http://riot.attlocal.net, type = A, class = IN

   ANSWERS:
   AUTHORITY RECORDS:
   ->  attlocal.net

origin = localhost mail addr = postmaster.localhost serial = 2004052401 refresh = 3600 retry = 1800 expire = 604800 minimum = 3600 ttl = 3600

   ADDITIONAL RECORDS:

Server: 192.168.1.254 Address: 192.168.1.254#53


   QUESTIONS:

http://riot, type = A, class = IN

   ANSWERS:
   ->  http://riot

internet address = 23.217.138.110 ttl = 10

   ->  http://riot

internet address = 23.202.231.169 ttl = 10

   AUTHORITY RECORDS:
   ADDITIONAL RECORDS:

Non-authoritative answer: Name: http://riot Address: 23.217.138.110 Name: http://riot Address: 23.202.231.169 ```

more options

The attlocal.net suffix likely comes from your router. There are various reason that a router may do this. For example, so may do it in case you are trying to access an internal router settings page.

The 192.168.1.254 IP address is likely a local address. The 23.*** addresses listed could be your public IP address or the IP address to some point on your ISPs network.