Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

html5 capture the screen [duplicate]

Possible Duplicate:
Using HTML5/Canvas/Javascript to take screenshots

Is there a way for a browser to take a global screenshot ? I mean, the entire screen, including what is not in the browser.

I kown that I may sound a little bit silly by asking this.

like image 989
fabien Avatar asked Dec 12 '12 14:12

fabien


1 Answers

There is experimental support for full-screen capture in Chrome's getUserMedia WebRTC function, using a {chromeMediaSource: 'screen'} parameter. The functionality currently requires explicit activation by an option in chrome://flags, and (like all WebRTC capture mechanisms) requires explicit consent from the user when the function is called.

Other than that experimental option in Chrome, is not possible using pure JavaScript, but you could probably do it using a plugin like Flash, or an ActiveX control.

If you only want to capture a web page (rather than the whole screen), see Using HTML5/Canvas/JavaScript to take screenshots.

like image 74
apsillers Avatar answered Oct 15 '22 09:10

apsillers