Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Taking screenshot using javascript in chrome packaged app

I need to grab the current html inside a chrome packaged app. I am aware of Taking screenshot using javascript for chrome extensions but when I tried this, chrome states that the "tab" permission is not allowed for packaged apps.

Is there any way I can reliably grab the current page?

like image 250
rene_gr Avatar asked Nov 01 '22 02:11

rene_gr


1 Answers

You cannot do what you are trying to do with a packaged Chrome application. Instead, you should probably look at making an extension, as that would be the way to go if you want to interact with the current page.

If you're unsure, here's a resource for figuring exactly what you should choose: https://developer.chrome.com/webstore/choosing

like image 98
Invictus Avatar answered Nov 12 '22 18:11

Invictus