Chrome Extension: How to display tab objects?

Posted by Jalleluhah on Stack Overflow See other posts from Stack Overflow or by Jalleluhah
Published on 2010-05-25T01:52:57Z Indexed on 2010/05/25 2:01 UTC
Read the original article Hit count: 318

I am in the process of designing an extension for Google Chrome that helps to organize tabs (I know, there are many that already exist; that doesn't matter). I wish to open a popup window that will display tabs as objects (i.e., in the same way that it is displayed in the tab bar at the top of the browser). One way of doing this would be to pull various details (ID, Title, URL, etc.) from each tab, create a class and make instantiations of it upon the opening of each tab using these data, but this seems rather convoluted considering that what I want is sitting right there in the tab bar. Is there any simpler way to achieve this?

In addition, I have seen several apps that utilize page previews. Is there something in the API that allows direct access to these?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html