News for hackers. Stuff that matters.
Re:Hosting a Javascript website on github in Seconds for free by sundar22in on Wednesday February 29, 2012 @10:49AM (#3648231)
You cannot access any arbitary website from Javascript. http://en.wikipedia.org/wiki/Same_origin_policy
Re:Hosting a Javascript website on github in Seconds for free by sravfeyn on Wednesday February 29, 2012 @10:57AM (#3648269)
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.
Re:Hosting a Javascript website on github in Seconds for free by MatthewPhillips on Wednesday February 29, 2012 @10:54AM (#3648252)