Better HN
topnewbestaskshowjobs
Log inSign up

ta_2325r9e

5 karma · joined Mar 10, 2022 (4y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

I wrote a simple HTML and JS to test if that's possible: Load this GIF, then draw it into a canvas using drawImage[1], then read the canvas content with getImageData. Luckily it returns an array of zeros, so it at least not trivially exploitable.

[1] https://developer.mozilla.org/en-US/docs/Web/API/CanvasRende... [2] https://developer.mozilla.org/en-US/docs/Web/API/CanvasRende...