Live data from Hacker News

Show HN: my spare time project, an on-site QR image decoder

w-labs.at

11–14 of 14 posts

Re: Show HN: my spare time project, an on-site QR image decoder

#11
post #9

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.

good point :D

Re: Show HN: my spare time project, an on-site QR image decoder

#12
As 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

#13

As 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 :)

Re: Show HN: my spare time project, an on-site QR image decoder

#14
post #13

As 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 simply replaced the eval line at the end of the decode script with console.log.

I hadn't seen this obfuscation technique yet, learned something new :)

Post reply on HN