Re:Firefox 41 can screenshot a single DOM element
by sergiotapia on Wednesday September 30, 2015 @07:30PM
(#10308185)
I thought we finally got a JS api to take a screenshot of the dom. Damn!
[ Parent
| on HN ]
Re:Firefox 41 can screenshot a single DOM element
by userbinator on Wednesday September 30, 2015 @09:33PM
(#10308687)
That sounds like it'd be very easily abused for browser fingerprinting and DRM-ish things (do you have font X installed? Are you using custom CSS? Any extra things added by particular extensions?)
Re:Firefox 41 can screenshot a single DOM element
by swhipple on Thursday October 01, 2015 @12:31AM
(#10309239)
Most of those types of things can be used for fingerprinting currently with JavaScript w/o need for screenshot rendering. Anything that injects into the page DOM can be detected and some timing attacks are possible.
The main issues that I think are important to consider are revealing browser history (visited links) and cross-frame information (like <iframe>). Modern browsers already have protection in these areas.
Re:Firefox 41 can screenshot a single DOM element
by userbinator on Thursday October 01, 2015 @12:01AM
(#10309152)
Another one that comes to mind is "Are you blocking ads?", although I should probably stop before I give them any more ideas...
Re:Firefox 41 can screenshot a single DOM element
by oneeyedpigeon on Thursday October 01, 2015 @09:51AM
(#10311073)
Sites already appear to be able to detect that.
Re:Firefox 41 can screenshot a single DOM element
by cburgmer on Wednesday September 30, 2015 @08:24PM
(#10308408)
https://www.npmjs.com/package/rasterizehtml renders HTML into the browser's canvas.
Re:Firefox 41 can screenshot a single DOM element
by logn on Wednesday September 30, 2015 @07:43PM
(#10308245)
For now maybe this is good enough: https://github.com/niklasvh/html2canvas
Re:Firefox 41 can screenshot a single DOM element
by chris_engel on Thursday October 01, 2015 @02:00AM
(#10309487)
Oh yeah, me too...
We have to rely on JS based rendering into a Canvas element for http://insite-feedback.com - and I would love to improve that process with a direct API :/
Well, maybe sometime soon. What would you use the direct API access for?