{"action":"created","issue":{"url":"https://api.github.com/repos/dozoisch/react-google-recaptcha/issues/7","labels_url":"https://api.github.com/repos/dozoisch/react-google-recaptcha/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/dozoisch/react-google-recaptcha/issues/7/comments","events_url":"https://api.github.com/repos/dozoisch/react-google-recaptcha/issues/7/events","html_url":"https://github.com/dozoisch/react-google-recaptcha/issues/7","id":104380554,"number":7,"title":"Uncaught SecurityError in Google iframe when unmounting","user":{"login":"johanneshilden","id":2183165,"avatar_url":"https://avatars.githubusercontent.com/u/2183165?v=3","gravatar_id":"","url":"https://api.github.com/users/johanneshilden","html_url":"https://github.com/johanneshilden","followers_url":"https://api.github.com/users/johanneshilden/followers","following_url":"https://api.github.com/users/johanneshilden/following{/other_user}","gists_url":"https://api.github.com/users/johanneshilden/gists{/gist_id}","starred_url":"https://api.github.com/users/johanneshilden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanneshilden/subscriptions","organizations_url":"https://api.github.com/users/johanneshilden/orgs","repos_url":"https://api.github.com/users/johanneshilden/repos","events_url":"https://api.github.com/users/johanneshilden/events{/privacy}","received_events_url":"https://api.github.com/users/johanneshilden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-02T00:25:58Z","updated_at":"2015-10-21T10:47:24Z","closed_at":null,"body":"When the component gets unmounted (e.g., when navigating to a different page using react-router), an exception occurs:\r\n\r\n```\r\nUncaught SecurityError: Blocked a frame with origin \"https://www.google.com\" from \r\naccessing a frame with origin \"localhost\". The frame requesting access has a protocol \r\nof \"https\", the frame being accessed has a protocol of \"http\". Protocols must match.\r\n```\r\n\r\nPossible solution is to remove the iframe container inserted by the reCAPTCHA script in `componentWillUnmount`."},"comment":{"url":"https://api.github.com/repos/dozoisch/react-google-recaptcha/issues/comments/149851974","html_url":"https://github.com/dozoisch/react-google-recaptcha/issues/7#issuecomment-149851974","issue_url":"https://api.github.com/repos/dozoisch/react-google-recaptcha/issues/7","id":149851974,"user":{"login":"bobiblazeski","id":2140890,"avatar_url":"https://avatars.githubusercontent.com/u/2140890?v=3","gravatar_id":"","url":"https://api.github.com/users/bobiblazeski","html_url":"https://github.com/bobiblazeski","followers_url":"https://api.github.com/users/bobiblazeski/followers","following_url":"https://api.github.com/users/bobiblazeski/following{/other_user}","gists_url":"https://api.github.com/users/bobiblazeski/gists{/gist_id}","starred_url":"https://api.github.com/users/bobiblazeski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobiblazeski/subscriptions","organizations_url":"https://api.github.com/users/bobiblazeski/orgs","repos_url":"https://api.github.com/users/bobiblazeski/repos","events_url":"https://api.github.com/users/bobiblazeski/events{/privacy}","received_events_url":"https://api.github.com/users/bobiblazeski/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T10:47:24Z","updated_at":"2015-10-21T10:47:24Z","body":"@johanneshilden  I have a single recaptcha will the patch work ?\r\n\r\n@dozoisch Is there a plan to merge the patch, maybe add some parameter to not trigger for users who have more then one captcha?"}}