Blog‎ > ‎

Javascript - can't access pages from other domains?

posted Feb 10, 2009, 3:02 PM by Jade Rubick
I was wondering why I was having so much problems with Javascript across different domains...
The default security in javascript is even more restrictive than "same domain". It's known as the Same Origin policy. It says that a script can only read properties of windows and documents that were loaded:

1. from the same host
2. through the same port
3. by the same protocol