So let's say I have site.html
site.html calls sitescripts.js from the same root directory.
is there a simple way to allow sitescripts.js to be accessed by site.html (via looking at the referring url or the site's dedicated IP address?) but prevent someone who's snooping in the code from copying sitescripts.js into:
and viewing the .js file?
Ideally actually could this redirect them to another .js file that is super confusing so that DUMB warrior forum/digital point type copycats can't (as) easily snag landing pages and related fun javascript?
edit: php would also work fine (or even better since I don't understand apache at all).
site.html calls sitescripts.js from the same root directory.
is there a simple way to allow sitescripts.js to be accessed by site.html (via looking at the referring url or the site's dedicated IP address?) but prevent someone who's snooping in the code from copying sitescripts.js into:
Code:
[URL]http://domain.com/sitescripts.js[/URL]
Ideally actually could this redirect them to another .js file that is super confusing so that DUMB warrior forum/digital point type copycats can't (as) easily snag landing pages and related fun javascript?
edit: php would also work fine (or even better since I don't understand apache at all).