10

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.

Community
  • 1
  • 1
fabien
  • 2,228
  • 2
  • 19
  • 44
  • Absolutely not with HTML5, but you can probably do it using a plugin like Flash. – apsillers Dec 12 '12 at 14:49
  • Not possible, also, duplicate. ^ – Cerbrus Dec 12 '12 at 14:52
  • @RoryMcCrossan The proposed duplicate is only concerned with capturing a web page, though, rather than the entire screen. The Google+ functionality referenced in the question only captures the page, and the accepted answer only explains how to capture a page. The question does not ask (and the accepted answer does not explain) whether capturing the entire screen is possible or not. – apsillers Dec 12 '12 at 14:56

1 Answers1

10

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.

Community
  • 1
  • 1
apsillers
  • 112,806
  • 17
  • 235
  • 239
  • Ok. Take a screenshot of the browser is not that big deal. Well actually it would be, but Eric Bidleman explained how to do it here: http://www.html5rocks.com/en/tutorials/streaming/screenshare/ I think that I'm going to try a mix between flash and html :) – fabien Dec 12 '12 at 15:21
  • Hm.. still not supported by firefox. – Wooff Jun 04 '15 at 11:05