How In-Browser Screenshots Work with HTML5 Canvas and JavaScript | CodeTrail