Relative Content

Tag Archive for javascriptamazon-s3iframepostmessageincognito-mode

iframe.contentWindow.postMessage not working in incognito mode

I have a widget script (widget.js) deployed on an AWS S3 bucket. This script creates an iframe with its src set to http://localhost:5000.
I embedded widget.js using script tag in my web app. Once the iframe is loaded I am sending message postMessage to http://localhost:5000