/    Sign up×
Community /Pin to ProfileBookmark

How to hide code

Hi,

I have an issue with this directory/locator/finder thing we are building using Google Maps. Will allow you to locate (say) golf courses in your area or anywhere in the US. Anyway, we spent a bit of time adding all the latitudes and longitudes to show the markers on the Google map, and other information into all the javascript code. The problem is, I don’t really want a competitor to be able to just find the js file or html or xml and copy it for their own site. So, is the only solution (to hide the information we’ve gathered) to do this via PHP.

Thank you

to post a comment
JavaScript

1 Comments(s)

×

Success!

Help @chdgs spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...