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,
it 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) ?