Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views : Ad Clicks :Ad Views :
Please Disable your AdBlocker!

We are not spamming! We use Google Adsense for running this web free.

img
Home / Software Development / Failed to execute ‘postMessage’ on ‘DOMWindow’: https://www.accounts.google.com !== http://yourdoamin.com

Failed to execute ‘postMessage’ on ‘DOMWindow’: https://www.accounts.google.com !== http://yourdoamin.com

156 Views

Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://accounts.google.com’) does not match the recipient window’s origin (‘https://www.yourdomain.com’)

What is the problem actually?

How to fix this issue?

Well, This happens for https using website. because they automatically block the content from HTTP to iframe tag.

Try to change the URL of the file you are trying to embed to be https.

For instance:

var id = getId(url);
return '//www.accounts.google.com/embed/' + id + '?showinfo=0&enablejsapi=1&origin=http://localhost:9000';
}

to be:

var id = getId(url);
return 'https://www.accounts.google.com/embed/' + id + '?showinfo=0&enablejsapi=1&origin=http://localhost:9000';
}
  • Facebook
  • Twitter
  • Google+
  • Linkedin
  • Pinterest
  • stumbleupon
  • Reddit
This div height required for enabling the sticky sidebar