2

作为研究实验的一部分,我需要一个 Web 浏览器地址栏行为列表。例如:

1) 最基本的行为是输入一个完整的网址,例如http://www.abc.com,然后按 ENTER 导航到该网站。

2) 只键入一个域名(例如abc)并按 CTRL+ENTER(在 Windows 上)会自动在前面加上http://.com导航到网站。

3)在某些情况下,键入abc.com并按 ENTER 导航到http://www.abc.com- 这里的精确启发式是什么?

... ETC。

4

1 回答 1

1

As for 3), I do think that it's a redirect, which is being done on the server-side (that is, the server notices you are trying to access the domain directly and redirects to www.*), so no browser-specific behavior here.

And Google Chrome for example treats everything that does not have a valid top-level domain suffix or protocol prefix (such as http://) as a search query, which, on pressing Enter, leads you to Google.com?q={query}

于 2011-01-28T20:29:16.790 回答