As already posted there is no way to hide your javascript or stop others copying it.
You can make it more difficult for others to reuse your code though. Obfuscate and compress it. Shrinksafe is a free utility that will obfuscate your javascript: http://shrinksafe.dojotoolkit.org/ And then compress your obfuscated javascript using this page: http://demo.java2script.org/lz77js/ You'll end up with completely unreadable javascript - and as a bonus it'll be smaller in size than the original (unobfuscated and uncompressed) version. It won't be 100% safe and a determined person can still find a way to copy it - but it's enough to stop the casual copy/paster from reusing your code. Martin. On 10 Aug, 11:13, Aries <[email protected]> wrote: > Hi > > I am using Google Maps API and I woud like to hide the API codes for > my maps so that no one else can see my codes when viewing the source > code because I noticed that all my google maps codes are visible in > the code view and can be easily captured or copied. Is there a way to > hide them so that no one can copy my codes. I am a beginner coder. > > Thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
