{"action":"opened","issue":{"url":"https://api.github.com/repos/asafdav/ng-csv/issues/84","labels_url":"https://api.github.com/repos/asafdav/ng-csv/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/asafdav/ng-csv/issues/84/comments","events_url":"https://api.github.com/repos/asafdav/ng-csv/issues/84/events","html_url":"https://github.com/asafdav/ng-csv/issues/84","id":60672752,"number":84,"title":"Safari download breaking because of popup blocker","user":{"login":"chesleybrown","id":492166,"avatar_url":"https://avatars.githubusercontent.com/u/492166?v=3","gravatar_id":"","url":"https://api.github.com/users/chesleybrown","html_url":"https://github.com/chesleybrown","followers_url":"https://api.github.com/users/chesleybrown/followers","following_url":"https://api.github.com/users/chesleybrown/following{/other_user}","gists_url":"https://api.github.com/users/chesleybrown/gists{/gist_id}","starred_url":"https://api.github.com/users/chesleybrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chesleybrown/subscriptions","organizations_url":"https://api.github.com/users/chesleybrown/orgs","repos_url":"https://api.github.com/users/chesleybrown/repos","events_url":"https://api.github.com/users/chesleybrown/events{/privacy}","received_events_url":"https://api.github.com/users/chesleybrown/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-11T15:06:26Z","updated_at":"2015-03-11T15:06:26Z","closed_at":null,"body":"From the discussion on Pull Request #83 \r\n\r\n> After some additional testing with this workaround I've discovered it has a caveat. If the user has \"Block pop-up windows\" enabled in Safari (which I believe is the default) then the directive link silently fails. If I disable \"Block pop-up windows\" it works as expected.\r\n\r\n> So if you do add this setting, it might be better to at least make it an optional setting as it seems to completely break downloading in Safari by default.\r\n\r\n> This is related to how you generate an anchor tag with a target and then click it using JS. I haven't tested it, but a possible workaround would be to not dynamically generate the anchor tag like that and instead apply those attr values to the ng-csv element itself. Then as long as ng-csv is used on an anchor tag this target=_blank might work correctly?"}}