Support » Plugin: Really Simple Share » Facebook like button reports Javascript error

  • Resolved bwooster47


    When using this plugin and the facebook like button, just loading a page shows this error in the Javascript console on Chrome browser:

    Uncaught SecurityError: Blocked a frame with origin “” from accessing a frame with origin “”. Protocols, domains, and ports must match.

    This is related the the facebook like button, most probably.
    Seems like this may be a Facebook script problem. The “like” action seems to work anyway, but would be nice if this error could be avoided.

    I noticed this plugin may not be creating the right html – it is missing the http? It generates this:

    <div class=”really_simple_share_facebook_like” style=”width:100px;”><iframe src=”//

    Note the src=”//” which seems wrong (though it will work, since http is default protocol?)

    Related, unresolved stackoverflow topic: facebook-iframe-tries-to-access-other-iframes

Viewing 2 replies - 1 through 2 (of 2 total)
  • Finally got a better error message from the Javascript console!

    This error was due to a Chrome Extension – “Allow Right Click”.

    So the code in this plugin is all fine. Disabling the bad extension made the error go away.

    Perfect! Thanks for reporting it!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Facebook like button reports Javascript error’ is closed to new replies.