0

I open a link by calling window.open()

I then get the following error in Google Chrome:

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://editorial.outbrain.com') does not match the recipient window's origin ('https://example.com').

What is causing this error to happen, and how can I address it?

You can recreate this error by visiting this JSFiddle (you'll have to enable pop-ups).

Daniel Apt
  • 2,468
  • 1
  • 21
  • 34

0 Answers0