I'm trying to access to an element located in an Standard Page with Jquery from my visualforce embedded.

There's a way to have access to those elements, now I'm getting an error like:

"Uncaught SecurityError: Blocked a frame with origin"?


1 Answer 1


This is blocked by the browser because of the Same Origin Security Policy. The embedded VF page in the iframe cannot interact with its parent page because it is served from a different domain than a standard page.

https://*.salesforce.com vs https://*.visual.force.com

You will need to find another way to accomplish your goal. You might need to resort to creating a VF page that mimics the design of the standard page using the <apex:sectionHeader>, <apex:detail> and <apex:relatedList> tags.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .