Skip to main content
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
1 answer
0/9000