Skip to content

Commit

Permalink
Update phone and tablet user-agents (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmetais authored and macbre committed Jun 17, 2016
1 parent 259adfd commit 201a27a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/devices/devices.js
Expand Up @@ -15,12 +15,12 @@ exports.module = function(phantomas) {
// pretend we're iPhone
phone: {
viewport: '320x568',
'user-agent': 'Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543 Safari/419.3'
'user-agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 9_0_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13A452 Safari/601.1'
},
// pretend we're iPad
tablet: {
viewport: '768x1024',
'user-agent': 'Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10'
'user-agent': 'Mozilla/5.0 (iPad; CPU OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B5110e Safari/601.1'
}
},
availableDevices = Object.keys(devices);
Expand Down

0 comments on commit 201a27a

Please sign in to comment.