Created
November 17, 2010 14:49
-
-
Save cjsaylor/703454 to your computer and use it in GitHub Desktop.
QR Bookmarklet that opens an external window with the QR code of either selected text or the current URL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function() { | |
window.open('http://chart.apis.google.com/chart?cht=qr&chs=250x250&chl='+encodeURIComponent(getSelection().toString() || window.location.href)+'&chld=H|0', 'QR Window','location=0,status=0,scrollbars=0,toolbar=0,menubar=0,directories=0,resizable=0,width=250,height=250'); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment