I want to protect my JS files using absolute path of the URL.
Please help me.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Cannot be done.
You can try to hide your JavaScript and CSS in obfuscated files, but since the user’s browser needs to have it in order to display your page, the resourceful user can always distill it back from there.
Update: The comments complain that I lifted this answer verbatim from a forum site. I would like to contend that it was the other way around. Check the time stamps and user names.