I need to grab the current html inside a chrome packaged app. I am aware of [Taking screenshot using javascript for chrome extensions](https://stackoverflow.com/q/4573956/1249951) 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?