He used his knack for languages--he was studying Latin, Mandarin and French--to create a program that could extract the most relevant sentences out of long text.
In his personal blog Grossman has described how a malicious website could create form text fields, probably invisibly, for the contact info it wanted to extract from a Safari user.