When you send feedback using the new Google Maps Beta, you have the option to send a screengrab of the page you're on. Given that no Java alerts appear, I can only assume this is using JavaScript.
How would I take a screengrab of the page I'm on using JavaScript, like how Google Maps Feedback Service does?