Skip to content

Instantly share code, notes, and snippets.

@justinobney
Created November 17, 2011 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinobney/1373300 to your computer and use it in GitHub Desktop.
Save justinobney/1373300 to your computer and use it in GitHub Desktop.
QR Code Generator Bookmarklet
javascript: (function () {
if (document.body) {
var b = window.location.href,
a = '';
var c = prompt("Define", b);
if (c) {
if (c.length) {
a = "http://qrcode.kaywa.com/img.php?s=8&d=" + encodeURIComponent(c.replace(" ", "+"));
window.open(a, "QRcode", "menubar = 1, resizable = 1, width = 320, height = 320 ")
}
}
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment