Plotly PostMessage Api still not working

Hi guys, I am trying to use the postMessage-API but it doesn’t work, like plotly.com example and any other pen which uses this api on codepen by plotly