By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,786 Members | 2,241 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,786 IT Pros & Developers. It's quick & easy.

Can I hide Javascript Code from users/client

P: 2
So I used a puzzle that I made in a CS class and integrated it into a new site that I made for my University's tennis club. My professor saw it and asked that I take down the puzzle because it is the solution for an assignment that he will be giving out in the fall.

Basically my question is if there is a way to hide or mask or whatever my js code so that someone using firebug or the domInspector can't look at it (ie. to steal my work for their assignment)? Thanks a lot!
Jul 31 '07 #1
Share this Question
Share on Google+
4 Replies


iam_clint
Expert 100+
P: 1,208
theres really not a good way to mask client side code.
Jul 31 '07 #2

P: 2
Is there a way that could trick newbie coders? this is an entry calss, so really most-anything would help.
Jul 31 '07 #3

iam_clint
Expert 100+
P: 1,208
http://www.protware.com/

These guys have a "decent" way of hiding scripts from newbies. I figured out how to get the information from it pretty quickly but a newbie would probably have a much more difficult time.
Jul 31 '07 #4

gits
Expert Mod 5K+
P: 5,294
hi ...

even when i hate that thing i know that sometimes there are good reasons for that ;) ... so i want to mention the 'search-phrase' that may point you in the direction for what you want, it is: 'obfuscated javascript' ;)

kind regards
Aug 1 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.