hankknight
asked on
JavaScript: Loaded from web server or local computer?
Using JavaScript, how can I detect if a page was loaded from a web server or from a folder on a person's computer?
if( served_from_web_server ) alert('This page was loaded from a web server.');
else alert('This page was loaded locally');
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.