You need to sign in to do that
Don't have an account?

Uncaught SecurityError: Blocked a frame with origin "https://c.cs30.visual.force.com" from accessing a frame with origin "https://cs30.salesforce.com". Protocols, domains, and ports must match.
Hi,
When I trying to access standard page eliment from visualforce page component (as HTML componet is obsolate) and I'm getting the below error
"Uncaught SecurityError: Blocked a frame with origin "https://c.cs30.visual.force.com" from accessing a frame with origin "https://cs30.salesforce.com". Protocols, domains, and ports must match".

Please any one suggest me how to impliment visualforce area in homepagecomponents.
Thanks,
Shirisha.
When I trying to access standard page eliment from visualforce page component (as HTML componet is obsolate) and I'm getting the below error
"Uncaught SecurityError: Blocked a frame with origin "https://c.cs30.visual.force.com" from accessing a frame with origin "https://cs30.salesforce.com". Protocols, domains, and ports must match".
Please any one suggest me how to impliment visualforce area in homepagecomponents.
Thanks,
Shirisha.
could you explain what's the clear requirement.
Thanks,
Jagan
jagan.srit@gmail.com
Here is my sample code(VF Component).
<apex:page >
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/soap/ajax/28.0/connection.js"></script>
<script language="javascript" type="text/javascript">
j$=jQuery.noConflict();
j$(document).ready(function(){
window.location.href='about:blank';
var xs=j$('#phHeaderImage', window.parent.document).attr("src");
xs=window.parent.j$("img", "td[class='left']").attr("src");
alert('xs'+ xs);
});
</script>
</apex:page>
Thanks,
Shirisha