News for hackers. Stuff that matters.
Re:Show HN: my spare time project, an on-site QR image decoder by hiroprot on Friday March 15, 2013 @07:04AM (#5379953)
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 by dgarner on Friday March 15, 2013 @07:52AM (#5380069)
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 by hiroprot on Friday March 15, 2013 @08:03AM (#5380094)
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 :)