iFrame contentDocument Access Denied Error for CrossDomain URL
I am using iFrame to load data from Domain different from my website. When I am trying to get the iFrame modified URL as below, It is giving 'Access Denied" Error.
document.getElementById(
'iframe'
).contentDocument.location
If I am using same domain iFrame it is working fine.
Is there any solution to get the ContentDocument object without getting AccessDenied error for different Domain .
Thanks in Advance
Murthy