views:

22

answers:

1

how to save a captured screenshot locally in chrome plugin? I m stuck badly. If it can be done by only npapi than please give me some examples. Please do help me.

Thanx in advance.

A: 

I'm not sure how to go about saving the file locally but you can capture a screenshot of the current tab with the captureVisibleTab method. It returns a JPG image encoded as a data URI.

J-P
Thanx for that. I found out that if i have to do this I have to use the npapi plugin. But i have no clue how to do that. if you know than please tell me how i can do that . thanxs again