Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
32
rated 0 times [  33] [ 1]  / answers: 1 / hits: 45702  / 15 Years ago, mon, november 2, 2009, 12:00:00

I know its impossible for 100% protection, but something high or that works for majority of the users.



For instance, I encountered a site where viewing the current page's source returned nothing.



In another case, accessing or trying to download the .js files itself from browser



http://gget.com/somesecret.js,



would redirect you and stuff.



If you obfuscate your code, will it be very very difficult to decode it? if so that is also another good solution (what software is recommended) ?


More From » security

 Answers
72

You could obfuscate your Javascript. There are a lot of tools to do that in the wild, e.g. http://www.javascriptobfuscator.com/. However it does not prevent anyone to see the code, but makes it harder to read.


[#98405] Wednesday, October 28, 2009, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tiasavannahw

Total Points: 448
Total Questions: 122
Total Answers: 113

Location: Maldives
Member since Tue, Dec 21, 2021
2 Years ago
;