Hacker News new | ask | show | jobs
by sundar22in 5221 days ago
You cannot access any arbitary website from Javascript. http://en.wikipedia.org/wiki/Same_origin_policy
2 comments

While there is the same origin policy, there is mechanism to share some resources as Matthew pointed out. Even if you host a site on domain ex1, you can still access resource at google maps through API.