On a site which is hosted on *.x.com, I am loading a javascript (say javascriptY) from *.y.com. I have some cookie "name=value" stored on *.y.com (some user might have visited *.y.com earlier) and I want to read "name" cookie from the javascriptY which is loaded on *.x.com.
Is there a way to read cookie of *.y.com from javascriptY, which is loaded on *.x.com?