Skip to content

Instantly share code, notes, and snippets.

@mikhoul

mikhoul/linkToQrcode

Forked from tlxue/linkToQrcode
Last active Aug 29, 2015
Embed
What would you like to do?
javascript:(function(){document.location.href='https://chart.googleapis.com/chart?chs=150x150&cht=qr&choe=UTF-8&chl='+encodeURIComponent(document.location.href);})()
// 根据当前页面生成 QR code 的 bookmarklet
// 用到了 Google Chart API: https://developers.google.com/chart/infographics/docs/qr_codes?csw=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment