{"action":"created","issue":{"url":"https://api.github.com/repos/malihu/malihu-custom-scrollbar-plugin/issues/374","labels_url":"https://api.github.com/repos/malihu/malihu-custom-scrollbar-plugin/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/malihu/malihu-custom-scrollbar-plugin/issues/374/comments","events_url":"https://api.github.com/repos/malihu/malihu-custom-scrollbar-plugin/issues/374/events","html_url":"https://github.com/malihu/malihu-custom-scrollbar-plugin/issues/374","id":117121881,"number":374,"title":"Plugin does not work inside IFRAME","user":{"login":"dfiori","id":11569922,"avatar_url":"https://avatars.githubusercontent.com/u/11569922?v=3","gravatar_id":"","url":"https://api.github.com/users/dfiori","html_url":"https://github.com/dfiori","followers_url":"https://api.github.com/users/dfiori/followers","following_url":"https://api.github.com/users/dfiori/following{/other_user}","gists_url":"https://api.github.com/users/dfiori/gists{/gist_id}","starred_url":"https://api.github.com/users/dfiori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfiori/subscriptions","organizations_url":"https://api.github.com/users/dfiori/orgs","repos_url":"https://api.github.com/users/dfiori/repos","events_url":"https://api.github.com/users/dfiori/events{/privacy}","received_events_url":"https://api.github.com/users/dfiori/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-16T13:21:36Z","updated_at":"2015-11-16T14:36:54Z","closed_at":null,"body":"Hi,\r\nthe plugin throw a security X-Domain exception if used inside an i-frame.\r\nI found a workaround to fix:\r\nreplace all \"top.document\" with \"document\"\r\nPlugin still works good, but I'm not sure if this change can lead to crash or similar.\r\n\r\nCheers\r\n"},"comment":{"url":"https://api.github.com/repos/malihu/malihu-custom-scrollbar-plugin/issues/comments/157050524","html_url":"https://github.com/malihu/malihu-custom-scrollbar-plugin/issues/374#issuecomment-157050524","issue_url":"https://api.github.com/repos/malihu/malihu-custom-scrollbar-plugin/issues/374","id":157050524,"user":{"login":"dfiori","id":11569922,"avatar_url":"https://avatars.githubusercontent.com/u/11569922?v=3","gravatar_id":"","url":"https://api.github.com/users/dfiori","html_url":"https://github.com/dfiori","followers_url":"https://api.github.com/users/dfiori/followers","following_url":"https://api.github.com/users/dfiori/following{/other_user}","gists_url":"https://api.github.com/users/dfiori/gists{/gist_id}","starred_url":"https://api.github.com/users/dfiori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfiori/subscriptions","organizations_url":"https://api.github.com/users/dfiori/orgs","repos_url":"https://api.github.com/users/dfiori/repos","events_url":"https://api.github.com/users/dfiori/events{/privacy}","received_events_url":"https://api.github.com/users/dfiori/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T14:36:54Z","updated_at":"2015-11-16T14:36:54Z","body":"The code is quite long. I created a photogallery which is used into another website. So the photogallery is on domain A, the wordpress site is on domain B. Gallery is displayed using an <iframe>.\r\nIn this case the plugin crash and console report a x-domain security exception."}}