Gene Golovchinsky
Gene Golovchinsky

Reputation: 6131

Chrome extension History API

I am writing a chrome extension that needs to analyze the recent browsing history for a particular tab. The chrome.history API allows me to search for items in the global history, but seemingly provides no means to localize the results to a particular tab. Am I missing something, or is this impossible to get?

Upvotes: 10

Views: 2784

Answers (1)

Paul Fournel
Paul Fournel

Reputation: 11207

I think what you are looking is the navigation API. The Chrome history is not related to a particular tab. If you want to use or delete from the history a element of the tab navigation you can use the history search function with the navigation information.

Upvotes: 4

Related Questions