I am facing an issue with an Iframe embedded within my HTML page. The main domain of my website is abc.domain.local, while the domain of the Iframe is def.domain.local.
Some of my tests are not returning any results, and others are displaying 'Permission denied to access property 'document''
I have attempted 9 different approaches (code below) but none of them seem to be working. I have installed Cors Everywhere and disabled policies on the latest version of Firefox.
I have tried installing various extensions to disable cross-domain policies on Chrome and Firefox, but nothing has helped so far. Even starting Chrome with security parameters disabled did not resolve the issue.
Unfortunately, I do not have the ability to make changes to the webpage on the def.domain.local domain, including creating JS files for postmessage usage.
<html>
<head>
<script src="js/jquery-3.1.1.js"></script>
</head>
<body>
<!-- buttons and iframe structure here -->
<script type="text/javascript">
// JavaScript functions used to test the Iframe interactions
</script>
</body>
</html>