> No  it should not cause an issue as you are not actually leaving the
> domain.  the  only part of the url that counts as your domain is the
> (bar.com)...

Not true, same origin refers to proto, port, and host.

https://developer.mozilla.org/En/Same_origin_policy_for_JavaScript

However,  you can shorten (left-trim, shall we say) the effective host
variable by always setting document.domain to the SLD.

https://developer.mozilla.org/en/DOM/document.domain

--Sandy


Reply via email to