Sean Po
Sean Po

Reputation: 33

Google Chrome "Back" and "Forward" History

I am developing a little extensions called "Tab Bundler", which in short saves all the open tabs in a window into a bundle that can be opened with the click of a button. When a bundle is opened however, no history of how the user got to that url is saved, ie. the user can't click back to see how they got to that url. This is functionality I want to implement. I looked for a while, googling, looking thoroughly through the google chrome extension documentation: http://code.google.com/chrome/extensions/history.html. But I couldn't figure out how to get this information without tracking it myself. Is that the only option I have? Any thoughts would be really appreciated.

Thanks!

Upvotes: 3

Views: 2423

Answers (2)

Alejandro Silvestri
Alejandro Silvestri

Reputation: 3784

Look, many people tried this before. You are not alone in this quest! At the moment the answer in Google Code was: anybody asked for it when they where developing the History API. Then there's no elegant way to access tabs' history. Of course, you can hook chrome.tabs.onUpdated to record every page and make your own tab's history...

Upvotes: 3

nmz787
nmz787

Reputation: 2180

You could probably hook chrome.tab.onUpdate as well as some state or focus change hook to correlate.

I really want this, please make it!

Upvotes: 1

Related Questions