Generate the QR code for current tab automatically.