WordPress iframe into Adobe Muse "Uncaught SecurityError"
-
Hi,
I created my website alriwaya.net with Adobe Muse application and I integrated WordPress blogs inside the pages.
the iframe code is:
<iframe name="Stack" style='width: 100%;' src='https://alriwaya.net/blogs/?cat=2' frameBorder="0" overflow:hidden; scrolling="no" seamless="seamless" id="iframe" onload="javascript:resizeIframe(this);"></iframe>
and I use this script in my page head to let the blog expand in height as articles increased
<script language="javascript" type="text/javascript"> function resizeIframe(obj) { obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px'; } </script>
The problem is when I browse the page https://www.alriwaya.net/%D8%A3%D8%AE%D8%A8%D8%A7%D8%B1.html iframe is not showing and I got error “Uncaught SecurityError: Blocked a frame with origin “https://www.alriwaya.net” from accessing a frame with origin “https://alriwaya.net”. Protocols, domains, and ports must match.”
but without www it will show. like that: https://alriwaya.net/%D8%A3%D8%AE%D8%A8%D8%A7%D8%B1.html
I hope this can be solve.
Thank you
- The topic ‘WordPress iframe into Adobe Muse "Uncaught SecurityError"’ is closed to new replies.