HTML5 print screen automatically


Is it possible or is there any html5 / javascript / jquery library that allows me to take a print out of the window or a div and save it automatically without requiring the user's permission?

I've tried window.print() but it asks for user permission

Note: I want to save as image not send to printer

asked by anonymous 25.02.2014 / 15:06

1 answer


There is an open source project called html2canvas that converts to view > of a DOM object into a canvas and with that you can retrieve it in image form.

I advise read the documentation for better clarification, the design is very good, worth seeing. I think the primary thing you want to do is in that library.

25.02.2014 / 15:32