darklexus2k9 Posted November 30, 2009 Share Posted November 30, 2009 hi i have some javascript in my web page and i need to hide it wen some one right clicks on my page and click view source i don't wont it to show my javascript i have seen this in a few sites and wood love some help with this matter Quote Link to comment Share on other sites More sharing options...
dropfaith Posted November 30, 2009 Share Posted November 30, 2009 first question is why second if you have an example of this ive never seen it done Quote Link to comment Share on other sites More sharing options...
JonnoTheDev Posted November 30, 2009 Share Posted November 30, 2009 Im not sure you can. Pack it to obfuscate the code. Secondly, put the javascript in a js file and include it in your source http://dean.edwards.name/packer/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.