{"action":"created","issue":{"url":"https://api.github.com/repos/NYUCCL/psiTurk/issues/219","repository_url":"https://api.github.com/repos/NYUCCL/psiTurk","labels_url":"https://api.github.com/repos/NYUCCL/psiTurk/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/NYUCCL/psiTurk/issues/219/comments","events_url":"https://api.github.com/repos/NYUCCL/psiTurk/issues/219/events","html_url":"https://github.com/NYUCCL/psiTurk/issues/219","id":147067134,"number":219,"title":"Trying to exclude Safari also excludes Google Chrome","user":{"login":"adamliter","id":4974404,"avatar_url":"https://avatars.githubusercontent.com/u/4974404?v=3","gravatar_id":"","url":"https://api.github.com/users/adamliter","html_url":"https://github.com/adamliter","followers_url":"https://api.github.com/users/adamliter/followers","following_url":"https://api.github.com/users/adamliter/following{/other_user}","gists_url":"https://api.github.com/users/adamliter/gists{/gist_id}","starred_url":"https://api.github.com/users/adamliter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamliter/subscriptions","organizations_url":"https://api.github.com/users/adamliter/orgs","repos_url":"https://api.github.com/users/adamliter/repos","events_url":"https://api.github.com/users/adamliter/events{/privacy}","received_events_url":"https://api.github.com/users/adamliter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-09T00:00:28Z","updated_at":"2016-04-11T19:18:03Z","closed_at":null,"body":"If you look at `userAgent` for a Chrome browser it will also contain the word \"Safari\". Here's a screenshot example thanks to http://whatsmyuseragent.com/.\r\n\r\n<img width=\"1272\" alt=\"screen shot 2016-04-08 at 7 35 57 pm\" src=\"https://cloud.githubusercontent.com/assets/4974404/14400178/5f522978-fdc2-11e5-8ac9-0e813a7a9f01.png\">\r\n\r\nAs far as I can tell, this is because Google Chrome also uses Apple Web Kit.\r\n\r\nThis is a problem given the current psiTurk interface for excluding browsers. Since the exclusion is just done based on pattern matching, it's not possible to exclude Safari without also excluding Google Chrome.\r\n\r\nThe recommendation on [Stack Overflow](http://stackoverflow.com/q/12799212/2571049) is just to check for the both the word \"Chrome\" and the word \"Safari\" if you want to target Chrome, but this doesn't really work with the psiTurk interface through specifying something in the `browser_exclude_rule` inside `config.txt` if one wants to exclude Safari but not Google Chrome."},"comment":{"url":"https://api.github.com/repos/NYUCCL/psiTurk/issues/comments/208509540","html_url":"https://github.com/NYUCCL/psiTurk/issues/219#issuecomment-208509540","issue_url":"https://api.github.com/repos/NYUCCL/psiTurk/issues/219","id":208509540,"user":{"login":"adamliter","id":4974404,"avatar_url":"https://avatars.githubusercontent.com/u/4974404?v=3","gravatar_id":"","url":"https://api.github.com/users/adamliter","html_url":"https://github.com/adamliter","followers_url":"https://api.github.com/users/adamliter/followers","following_url":"https://api.github.com/users/adamliter/following{/other_user}","gists_url":"https://api.github.com/users/adamliter/gists{/gist_id}","starred_url":"https://api.github.com/users/adamliter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamliter/subscriptions","organizations_url":"https://api.github.com/users/adamliter/orgs","repos_url":"https://api.github.com/users/adamliter/repos","events_url":"https://api.github.com/users/adamliter/events{/privacy}","received_events_url":"https://api.github.com/users/adamliter/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T19:18:03Z","updated_at":"2016-04-11T19:18:03Z","body":"Thanks! If you let me know when you push this patch to the ad server, I'll test it out and get back to you."}}