{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cordova-docs/issues/356","labels_url":"https://api.github.com/repos/apache/cordova-docs/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/apache/cordova-docs/issues/356/comments","events_url":"https://api.github.com/repos/apache/cordova-docs/issues/356/events","html_url":"https://github.com/apache/cordova-docs/pull/356","id":107552726,"number":356,"title":"Add browser api fallback for copy buttons","user":{"login":"riknoll","id":13754588,"avatar_url":"https://avatars.githubusercontent.com/u/13754588?v=3","gravatar_id":"","url":"https://api.github.com/users/riknoll","html_url":"https://github.com/riknoll","followers_url":"https://api.github.com/users/riknoll/followers","following_url":"https://api.github.com/users/riknoll/following{/other_user}","gists_url":"https://api.github.com/users/riknoll/gists{/gist_id}","starred_url":"https://api.github.com/users/riknoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riknoll/subscriptions","organizations_url":"https://api.github.com/users/riknoll/orgs","repos_url":"https://api.github.com/users/riknoll/repos","events_url":"https://api.github.com/users/riknoll/events{/privacy}","received_events_url":"https://api.github.com/users/riknoll/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-21T16:47:42Z","updated_at":"2015-09-21T23:25:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/cordova-docs/pulls/356","html_url":"https://github.com/apache/cordova-docs/pull/356","diff_url":"https://github.com/apache/cordova-docs/pull/356.diff","patch_url":"https://github.com/apache/cordova-docs/pull/356.patch"},"body":"ZeroClipboard is used on the main and plugins pages for the copy buttons and relies on Flash to operate. Modern browsers are gaining support for executing copy commands, so we can use that API as a fallback when Flash is disabled. In the future we should also add something to account for both failing. However, this works on Chrome, IE11, and Edge at least."},"comment":{"url":"https://api.github.com/repos/apache/cordova-docs/issues/comments/142136618","html_url":"https://github.com/apache/cordova-docs/pull/356#issuecomment-142136618","issue_url":"https://api.github.com/repos/apache/cordova-docs/issues/356","id":142136618,"user":{"login":"dblotsky","id":405489,"avatar_url":"https://avatars.githubusercontent.com/u/405489?v=3","gravatar_id":"","url":"https://api.github.com/users/dblotsky","html_url":"https://github.com/dblotsky","followers_url":"https://api.github.com/users/dblotsky/followers","following_url":"https://api.github.com/users/dblotsky/following{/other_user}","gists_url":"https://api.github.com/users/dblotsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dblotsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dblotsky/subscriptions","organizations_url":"https://api.github.com/users/dblotsky/orgs","repos_url":"https://api.github.com/users/dblotsky/repos","events_url":"https://api.github.com/users/dblotsky/events{/privacy}","received_events_url":"https://api.github.com/users/dblotsky/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T23:25:50Z","updated_at":"2015-09-21T23:25:50Z","body":"Merged. Feel free to close."}}