Hacking Google Suggest

FeedDemon's Nick Bradbury spots Adam Stiles' post 'How Google Search Works'...

"At its simplest, Google Suggest is javascript code that looks at what you are typing in the Google search box. When you press a key, GS phones home and passes the current contents of the search box. The server returns some suggestions are then displayed to the user. The javascript code is a little obfuscated, more to keep the size down than to obscure the contents...." More...

Comments (9)

  1. Ken says:

    This would’ve been cool 3 years ago but now everyone knows how to do it. The least Google could do is create something original…well this wouldn’t be original but at least it would show they spent more than a day on it:

    Pop an additional div for each keyword you type in. Maybe two hours of coding. Then make it easy to navigate between divs with the tab key. 5 minutes. Now you start to see some helpful things. Add key codes like D to remove a keyword, M mark keyword, C concat keywords, and etc. and you now realize what isn’t helping and what is as the divs refresh with a better view of how you are doing. All together 5 hours to code, 5 hours to test, release it tomorrow and everybody stop talking about how this is some grand original idea. Ken.

    P.S. Oh yeah! At the bottom of the Div they could at least put a little animated dot that shows when it is hitting the server and when it isn’t. People expect to work with the software not pause and wonder if the software is working with them.

  2. Xriso says:

    They already came out with a firefox extension for Google Suggest. Really cool Check it out: http://www.loconet.ca . It’s not bad for a night of hacking.

  3. Ken says:

    Is this a joke? Let me get this straight. The guy says he spent an entire night to make this work and not only can’t he duplicate (even though he has the code) what Google does but he can’t get keyboard navigation to work (even though he has the code to Firefox)? All he is doing here is poaching from another site and accordingly it works even slower than Google’s.

    The author of that must be thanking his lucky stars that Google didn’t opt to hit web services because…as everyone knows…the Firefox browser can’t handle Complex Types in WSDL. Probably why Google did it the way they did which totally cripples them regarding performance and features. Hopefully ZDNet will make a headline out of this: "Google Suggest dumbs itself down to work with Firefox".

    By God I hope the MSN Search team is going to take a week and make this all look like the slight of hand trick it is. Ken.

  4. Amit says:

    I would love to see an analysis of how MSN Web Messenger works. Here’s a link to the JavaScript file:


  5. Eric says:

    Check out this: http://dotnetjunkies.com/WebLog/anoras/archive/2004/12/12/36161.aspx

    How to create the feature with ASP.NET

  6. Ken says:

    Hey Ken. You seem like a bitter person. Don’t worry, I’m sure MSN will catch up someday :).

  7. Anonymous says:

    Google Suggest – hacked and explained

Skip to main content