susandel
02-27-2003, 07:20 AM
Hi,
This is a long shot, but is it possible to somehow restrict browser access to external Javascript file if someone specifically types in the *.js file URL?
What I had in mind was:
If *.js file URL typed into web browser
Display "Alternate" source code
Else
Browser retrieves "real" Javascript
Obviously this an attempt to hide the Javascript source. Not foolproof, but partially effective?
Thanks.
This is a long shot, but is it possible to somehow restrict browser access to external Javascript file if someone specifically types in the *.js file URL?
What I had in mind was:
If *.js file URL typed into web browser
Display "Alternate" source code
Else
Browser retrieves "real" Javascript
Obviously this an attempt to hide the Javascript source. Not foolproof, but partially effective?
Thanks.