Patent attributes
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for providing contextual information for a displayed resource. In one aspect, a method includes receiving, from a user device, a query-independent request for contextual information relevant to an active resource displayed in an application environment on the user device, identifying multiple search items from the content in the resource, determining a relevance score for each of the multiple search items, selecting one or more of the multiple search items based on the relevance scores, and providing, to the user device for each of the selected one or more multiple search items, a respective contextual user interface element for display with the active resource, where each contextual user interface element includes contextual information regarding the respective search item.