How to read a barcode using the built-in camera of a tablet or smartphone from a web app built with HTML5 and JavaScript? In this post I am going to introduce two approaches making it possible with pure JavaScript and a modern mobile browser - no extra apps, no prerequisities!