Captures active tab
Captures the current active tab. A image capture is taken whenever the active tab completes loading and, optionally, at intervals.
This is primarily a tool to experiment with Chrome's tabs API's captureVisibleTab method. Unless you are interested in post-processing the image data or experimenting with different format, quality and delay settings, then this is probably not for you.
The image data are timestamped, stored locally in an IndexedDB table and can be downloaded for further processing etc. At present, there is no convenient mechanism for freeing up storage, other than by removing the extension; this will be added in a future version.
The following are controllable via options:
* PNG or JPEG format captures
* JPEG quality setting
* delay between tab load completion and capture request (milliseconds)
* (minimum) interval between periodic captures (seconds)
Note that some, maybe all, internal chrome:// pages cannot be captured from a service worker context.
This extension's extensive permissions are only used to call chrome.tabs.captureVisibleTab from a service worker that runs in the background. There are no mutating API calls except to write to the IndexedDB table and no data are sent or received by the extension.
Include local ISO date/time as part of the downloaded file name.
Add some missing semicolons.
0.0.1 initial revision