3 ms·
I was shocked for a second that the product I've been working on for the last year [0] has become obsolete over night... But luckily its not the case, phew :D
by chris_engel 11y ago
I was shocked for a second that the product I've been working on for the last year [0] has become obsolete over night... But luckily its not the case, phew :D
We are creating screenshots of websites directly in the browser to enable users to give easy feedback to their web agencies - and we also implemented a cropper to make this easier for the people.
Does anybody know if there are plans to offer access to the screenshot library via a JS API somewhere soon in the future?
[0] http://insite-feedback.com http://insite-feedback.com
- paulirish 11y ago> Does anybody know if there are plans to offer access to the screenshot library via a JS API somewhere soon in the future? It's almost certainly not going to happen, due to security concerns. There previously had been attempts to toss a DOM screenshot into a WebGL texture but that was also found to be vulnerable to timing attacks that could reveal private data.
- chris_engel 11y agoWell, it could ask for permission - like the Fullscreen API, or the HTML5 Notifications, or...
- kevingadd 11y agoIt's a hard permission to give safely, because once the application has permission to take screenshots there are tons of ways for it to get third-party content into the viewport and capture it.
- amelius 11y ago> Does anybody know if there are plans to offer access to the screenshot library via a JS API somewhere soon in the future? Like another user said, one could wrap the HTML DOM tree into a SVG element, and then render that to an image. So from within Javascript, this could be done in a few lines of code, I suppose. I haven't tried it though.