Live data from Hacker News

A technique for hiding your JavaScript code

patrick-wied.at

1–10 of 36 posts

Re: A technique for hiding your JavaScript code

#7
post #2

Bonus points for not just creating an image, but hiding the code steganographically in an existing image (ie only using the LSB of each pixel to hide code)!

This might be quite effective in preventing people trying to reveal your code as part of their job. You could use some sort of obscene image to hide your code in.

Re: A technique for hiding your JavaScript code

#8
I can't help but feel saddened that we learned how to code using View Source (indeed, it's a big factor in the web's success) and now we're trying to prevent others doing the same.

Also, this seems like a surprisingly naive generalisation to me: "... a first measurement for preventing evil business guys from stealing your code – developers who can figure the code out are (mostly) kind enough not to steal it."

Post reply on HN