1.37 KB, application/x-gzip
Created attachment 320712 [details] Example to test cross-domain JS with document.domain Hi, would you consider adding the following section to the bottom of the page. See also the attached package, which I used to test in Firefox 220.127.116.11 on Mac OS X. When I didn't set document.domain in the higher (parent) domain, then I was still getting permission errors. Note that you need to set <i>document.domain</i> in both the subdomain and the parent domain to the same value. You need to do that even when setting document.domain in the parent domain to its 'native' (original) domain. It's not enough to set it only on the subdomain part. Otherwise you'd still get permission errors.
Updated the article.