好一段時間沒去逛google labs,今天去的時候發現多了一個Google Suggest。
試用了一下發現又是一個好玩的東西,是提示搜索一類的東西,當你輸入幾個字符,google suggest便會提示你10則以所輸入字符為為前綴串的熱門關鍵字。
更令人驚歎的是,提示的速度竟然比我電腦上的單機板的金山詞霸2005的提示速度還快~~~~。肯定又是一個google在AJax上的又一力作,用IEHttpHeaders分析了一下,當輸入字符harry時
1 GET http: //www.google.com/complete/search?hl=en&JS=true&qu=harr HTTP/1.0
2 Accept: */*
3 Accept-Language: zh-cn
4 Referer: http://www.google.com/webhp?complete=1&hl=en
5 UA-CPU: x86
6 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAHoAAAAYABgAkgAAAAwADABIAAAAEgASAFQAAAAUABQAZgAAAAAAAACqAAAABYKIogUCzg4AAAAPaABuAGEAbgBlAHQAdwBrAGEAaQBfAEMAaABlAG4AQwBIAEUATgBXAEUATgBLAEEASQBfYrUSQYhdagAAAAAAAAAAAAAAAAAAAABQBmv/8PzD28psBMXjOdh7/s2dGrSc2Q4=
7 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .Net CLR 1.0.3705)
8 Host: www.google.com
9 Proxy-Connection: Keep-Alive
10 CookIE: PREF=ID=1d1e07e694338d01:NW=1:TM=1125880180:LM=1125880180:S=amERQRMrAY_B33cx
11
12 HTTP/1.1 200 OK
13 Proxy-Connection: close
14 Connection: close
15 Via: 1.1 ISASRVHK01
16 Date: Tue, 11 Oct 2005 06:50:13 GMT
17 Content-Type: text/Html; charset=utf-8
18 Server: Auto-Completion Server
19 Cache-Control: private, x-gzip-ok=""