{"action":"created","issue":{"url":"https://api.github.com/repos/Quasimondo/QuasimondoJS/issues/7","labels_url":"https://api.github.com/repos/Quasimondo/QuasimondoJS/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Quasimondo/QuasimondoJS/issues/7/comments","events_url":"https://api.github.com/repos/Quasimondo/QuasimondoJS/issues/7/events","html_url":"https://github.com/Quasimondo/QuasimondoJS/issues/7","id":65147340,"number":7,"title":"Update to work with CORS?","user":{"login":"drewbaker","id":475015,"avatar_url":"https://avatars.githubusercontent.com/u/475015?v=3","gravatar_id":"","url":"https://api.github.com/users/drewbaker","html_url":"https://github.com/drewbaker","followers_url":"https://api.github.com/users/drewbaker/followers","following_url":"https://api.github.com/users/drewbaker/following{/other_user}","gists_url":"https://api.github.com/users/drewbaker/gists{/gist_id}","starred_url":"https://api.github.com/users/drewbaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewbaker/subscriptions","organizations_url":"https://api.github.com/users/drewbaker/orgs","repos_url":"https://api.github.com/users/drewbaker/repos","events_url":"https://api.github.com/users/drewbaker/events{/privacy}","received_events_url":"https://api.github.com/users/drewbaker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-30T06:39:08Z","updated_at":"2015-04-02T10:33:18Z","closed_at":"2015-04-01T03:20:15Z","body":"Hey Quasimondo,\r\n\r\nIt would be awesome to update these blur scripts to work with CORS now:\r\nhttp://blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html\r\nhttp://html5-demos.appspot.com/static/html5-whats-new/template/index.html#14\r\n\r\nOr maybe this: http://content-security-policy.com/\r\n\r\nI've tried hacking away at it, but suck at Canvas. This didn't seem to work:\r\n\r\n```\r\nvar img = document.getElementById( imageID );\r\nimg.crossOrigin = '';\r\nvar w = img.naturalWidth;\r\nvar h = img.naturalHeight;\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Quasimondo/QuasimondoJS/issues/comments/88861897","html_url":"https://github.com/Quasimondo/QuasimondoJS/issues/7#issuecomment-88861897","issue_url":"https://api.github.com/repos/Quasimondo/QuasimondoJS/issues/7","id":88861897,"user":{"login":"Quasimondo","id":182098,"avatar_url":"https://avatars.githubusercontent.com/u/182098?v=3","gravatar_id":"","url":"https://api.github.com/users/Quasimondo","html_url":"https://github.com/Quasimondo","followers_url":"https://api.github.com/users/Quasimondo/followers","following_url":"https://api.github.com/users/Quasimondo/following{/other_user}","gists_url":"https://api.github.com/users/Quasimondo/gists{/gist_id}","starred_url":"https://api.github.com/users/Quasimondo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quasimondo/subscriptions","organizations_url":"https://api.github.com/users/Quasimondo/orgs","repos_url":"https://api.github.com/users/Quasimondo/repos","events_url":"https://api.github.com/users/Quasimondo/events{/privacy}","received_events_url":"https://api.github.com/users/Quasimondo/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T10:33:18Z","updated_at":"2015-04-02T10:33:18Z","body":"Thanks for looking into this - I'll see if this can be integrated without breaking the original behaviour."}}