Search code examples
google-chrome-extension

Is there a way to query or modify the history of a single tab with a Chrome Extension?


I'm looking through the Chrome Extension API documentation about chrome.history, and I can't seem to find a way to query or modify the history of a single tab. That is to say, the back/forward menu contents of a tab. Everything in the docs seems to treat Chrome's history as if it was one large amalgam.

So, is there a way to query or modify Chrome history on a tab-by-tab basis? If so, how?


Solution

  • There is not. Jasper's suggestion is valid though, injecting a content script would allow access to the history of the tab.