use current location.href instead of the url of the book to generate qrcode