{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4453","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4453/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4453/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4453/events","html_url":"https://github.com/pouchdb/pouchdb/pull/4453","id":110827964,"number":4453,"title":"(#4453) - simpler blobSupport check","user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-11T01:47:19Z","updated_at":"2015-10-11T19:47:39Z","closed_at":"2015-10-11T19:47:39Z","pull_request":{"url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/4453","html_url":"https://github.com/pouchdb/pouchdb/pull/4453","diff_url":"https://github.com/pouchdb/pouchdb/pull/4453.diff","patch_url":"https://github.com/pouchdb/pouchdb/pull/4453.patch"},"body":"I know @daleharvey has wanted something like this for awhile. I've been holding onto it mostly due to sentimentality about the amount of time I had to spend to write the fix :stuck_out_tongue:.\r\n\r\nAccording to [caniuse stats](http://caniuse.com/usage-table), Chrome 37-42 is at 1.36% of all browser users, which is a lot, but not enough to justify the expensive ajax-based check here. I also don't like the dependency of `idb` on `ajax` given the new custom builds, where local-only builds should not have to include `ajax`.\r\n\r\nThe `userAgent` check I'm proposing is honestly only slightly less hacky than the present solution, since we are using one bug to detect the presence of another. Let's simplify the code and do a straight-up `userAgent` check.\r\n\r\nNote this will also get rid of the confusing \"PouchDB is only detecting blob support...\" message, as well as the fetching of the Blob URL (which also confused people IMO)."},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/147239118","html_url":"https://github.com/pouchdb/pouchdb/pull/4453#issuecomment-147239118","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4453","id":147239118,"user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T19:47:39Z","updated_at":"2015-10-11T19:47:39Z","body":"Merged as a1dcfcb73dad6350e64999e41e6fb9cb3e3777a0, also added an Edge check because apparently Edge spoofs Chrome 42. We should start testing Edge at some point, but for now I just tested it manually."}}