Not sure I understand why this was even created in the first place. Wouldn't it suffice to simply spell out the content of the QR next to it, on hover or else? It's not like QR codes are born out of thin air; if you place a QR on your site then it's unlikely you don't know what data it represents.
Show HN: my spare time project, an on-site QR image decoder
11–14 of 14 posts
Re: Show HN: my spare time project, an on-site QR image decoder
#12Pretty easy to decode and just console.log though. Here's a Gist of the source for anybody who's interested:
Re: Show HN: my spare time project, an on-site QR image decoder
#13As others have said, I think the project isn't super useful. The most interesting thing I saw on the page was an attempt at hiding the source for the script by putting it into an image, and then decoding it. Pretty easy to decode and just console.log though. Here's a Gist of the source for anybody who's interested: https://gist.github.com/anonymous/5169037
Re: Show HN: my spare time project, an on-site QR image decoder
#14As others have said, I think the project isn't super useful. The most interesting thing I saw on the page was an attempt at hiding the source for the script by putting it into an image, and then decoding it. Pretty easy to decode and just console.log though. Here's a Gist of the source for anybody who's interested: https://gist.github.com/anonymous/5169037
I guess it would have been way more useful if you pointed out how you decoded it. anyways, great post :)
I hadn't seen this obfuscation technique yet, learned something new :)