Patent ID: 8392449

Claim:
A computer-implemented method performed by data processing apparatus, the method comprising: receiving a query, the query including one or more query terms; receiving, for each of a plurality of resources identified as being relevant to the query, one or more tidbits, each tidbit being query-relevant text extracted from the resource; for each tidbit extracted from each resource: determining whether the tidbit is eligible for a resource search operation that occurs in response to the resource being rendered on a client device; and in response to determining that the tidbit is eligible for a resource search operation, marking the tidbit as being a resource search tidbit; providing to a client device, for each of the plurality of resources, a corresponding search result responsive to the query, each search result including a resource locator that specifies the location of the resource, wherein at least one search result includes resource search tidbits, each of which are not rendered on the client device as part of the search result; wherein a selection of the at least one search result at the client device causes the client device to perform operations comprising: rendering the resource referenced by the search result; selecting only resource search tidbits for which a portion of text in the resource that matches query-relevant text of a resource search tidbit is not within a viewport of the client device when the resource is initially rendered on the client device; and only for the selected resource search tidbits performing a resource search operation comprising displaying with the rendered resource a selection environment that includes a respective selection environment option for each selected resource search tidbit, and wherein a selection of each respective selection environment option causes the client device to navigate to a portion of resource that includes the identified portion of the text matching the respectively selected resource search tidbit.