{"action":"created","issue":{"url":"https://api.github.com/repos/vweevers/win-detect-browsers/issues/15","labels_url":"https://api.github.com/repos/vweevers/win-detect-browsers/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/vweevers/win-detect-browsers/issues/15/comments","events_url":"https://api.github.com/repos/vweevers/win-detect-browsers/issues/15/events","html_url":"https://github.com/vweevers/win-detect-browsers/issues/15","id":51212444,"number":15,"title":"Ideas for efficiency","user":{"login":"vweevers","id":3055345,"avatar_url":"https://avatars.githubusercontent.com/u/3055345?v=3","gravatar_id":"","url":"https://api.github.com/users/vweevers","html_url":"https://github.com/vweevers","followers_url":"https://api.github.com/users/vweevers/followers","following_url":"https://api.github.com/users/vweevers/following{/other_user}","gists_url":"https://api.github.com/users/vweevers/gists{/gist_id}","starred_url":"https://api.github.com/users/vweevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vweevers/subscriptions","organizations_url":"https://api.github.com/users/vweevers/orgs","repos_url":"https://api.github.com/users/vweevers/repos","events_url":"https://api.github.com/users/vweevers/events{/privacy}","received_events_url":"https://api.github.com/users/vweevers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-07T09:15:30Z","updated_at":"2015-05-02T20:35:14Z","closed_at":"2015-05-02T20:35:14Z","body":"Some ideas to make detection faster, more efficient. Speed isn't the highest priority of this module, it's assumed that consumers will cache results. Ideas are fun though, so I'm listing them here. These are *nice-to-haves* for the future, no promises made. Suggestions welcome.\r\n\r\n1. Combine WMIC queries (use OR query? Find docs.)\r\n2. By @jakub-g: Do a single registry query to `HKLM\\Software\\Clients\\StartMenuInternet`, for all browsers. See [#12 (comment)](https://github.com/vweevers/win-detect-browsers/issues/12#issuecomment-65907712)\r\n3. <del>Use addon for registry queries, for example [luyuan/registwin](https://github.com/luyuan/registwin)</del> (unstable and native addons are a pain for most windows users)"},"comment":{"url":"https://api.github.com/repos/vweevers/win-detect-browsers/issues/comments/98396813","html_url":"https://github.com/vweevers/win-detect-browsers/issues/15#issuecomment-98396813","issue_url":"https://api.github.com/repos/vweevers/win-detect-browsers/issues/15","id":98396813,"user":{"login":"vweevers","id":3055345,"avatar_url":"https://avatars.githubusercontent.com/u/3055345?v=3","gravatar_id":"","url":"https://api.github.com/users/vweevers","html_url":"https://github.com/vweevers","followers_url":"https://api.github.com/users/vweevers/followers","following_url":"https://api.github.com/users/vweevers/following{/other_user}","gists_url":"https://api.github.com/users/vweevers/gists{/gist_id}","starred_url":"https://api.github.com/users/vweevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vweevers/subscriptions","organizations_url":"https://api.github.com/users/vweevers/orgs","repos_url":"https://api.github.com/users/vweevers/repos","events_url":"https://api.github.com/users/vweevers/events{/privacy}","received_events_url":"https://api.github.com/users/vweevers/received_events","type":"User","site_admin":false},"created_at":"2015-05-02T20:35:13Z","updated_at":"2015-05-02T20:35:13Z","body":"The upcoming [2.0 release](https://github.com/vweevers/win-detect-browsers/tree/2.0) is much faster, spawns only two `cscript` processes - instead of a gazillion `reg` and `wmic` processes."}}