Google Suggest reloaded
p2pnet.net News:- Chris Justus in Ottawa, Ontario, Canada, was wondering about Google Suggest.
“As you type, Google will offer suggestions,” says Google on the beta site. “Use the arrow keys to navigate the results.”
So he re-wrote the compressed javascript to give the average web developer a close-up of exactly what makes it tick.
“Shock” and “awe” are two words he uses to describe what he found.
How did he go about reversing the logic?
“The good folks at google compress their code as they should, so in order to understand it, I first re-indented it … Then I began the fun process of figuring out what the global variables are for, and what the various functions do, and renaming them to meaningful names …”
The rest of Justus’ write-up is on his site. And that’s also where you’ll find his version, “uncompressed / commented / renamed”. Just in case, it’s here as well.
(Thanks, Milo ; )
===================
See:-
re-wrote – Google Suggest Dissected, Chris Justus – Server Side Guy, December 14, 2004




