Unsafe JavaScript attempt to access frame with URL ourdomain.com... from frame with URL ...xd_arbiter.php?... The frame requesting access set 'document.domain' to 'facebook.com', but the frame being accessed did not. Both must set 'document.domain' to the same value to allow access.

Unsafe JavaScript attempt to access frame with URL ourdomain.com... from frame with URL ...xd_arbiter.php?... The frame requesting access has a protocol of 'https', the frame being accessed has a protocol of 'http'. Protocols must match.

These repeat 3 times. We are only loading the Facebook Like box once. This only occurs in Chrome. Firefox, Safari, and IE are all fine.

It may be significant to note that this is actually being served from Google DFP (Double Click Ad server) in the case where we don't have an ad to serve.

Any help would be much appreciated!

The code: <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=385770938175078"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); <div class="fb-like-box" data-href="https://www.facebook.com/volunteerspot" data-width="300" data-height="250" data-show-faces="true" data-stream="false" data-header="true"></div>

share|improve this question
can you share the code of your FB like button? – Syed Salman Raza Zaidi Jan 17 at 8:16

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.