开发者

Chrome Extension - Get Tab Preview Images

开发者 https://www.devze.com 2023-02-08 06:30 出处:网络
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:

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

精彩评论

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