You need to sign in to do that
Don't have an account?
Nishant Khandelwal
Unable to Access other home page from the custom home page components..getting -: Uncaught DOMException: Blocked a frame with origin "https://c.ap2.visual.force.com" error
Hi All,
I am trying to access home page from an custom home page component ie of type VF area, through JS but getting "Uncaught DOMException: Blocked a frame with origin "https://c.ap2.visual.force.com" from accessing a cross-origin frame.(…)". Tried setting the document.domain= 'ap2.salesforce.com' for the home page component but unsuccessful. Also routing the vf page to the home page is not helping.
Please any one suggest me how to resolve this.
Thanks
Nishant
I am trying to access home page from an custom home page component ie of type VF area, through JS but getting "Uncaught DOMException: Blocked a frame with origin "https://c.ap2.visual.force.com" from accessing a cross-origin frame.(…)". Tried setting the document.domain= 'ap2.salesforce.com' for the home page component but unsuccessful. Also routing the vf page to the home page is not helping.
Please any one suggest me how to resolve this.
Thanks
Nishant
[1] http://stackoverflow.com/questions/25098021/securityerror-blocked-a-frame-with-origin-from-accessing-a-cross-origin-frame