I’m trying to prove that changing document.domain can be used only for cross scripting on the same upper level domain. For example if i will try to change document.domain to “google.com” on page which is located on http://www.test.com I will get a security exception in FF. Does anybody know where to locate an official proof of that?
I’m trying to prove that changing document.domain can be used only for cross scripting
Share
Check out : developer.mozilla.org/same-origin-policy
Here is an excerpt from the site: