Extension code for Google Chrome and Opera's QR extensions.