开发者

Chrome Extension - Get Tab Preview Images

I'm developing a chrome extension. I need to get a preview image for each tab. How can I do 开发者_运维百科this?


The Tab API has captureVisibleTab functionthat you can use: http://code.google.com/chrome/extensions/tabs.html#method-captureVisibleTab

Do a simple search on stackoverflow to see how it works, I have answered many people regarding that feature.

If you want to alter that image after you capture it, then you can use HTML Canvas to do so.

Hope that helped

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜