Lines Matching refs:agent
74 var agent = navigator.userAgent.toLowerCase();
75 if (agent.match(/iphone/i) || agent.match(/ipod/i)){
79 else if (agent.match(/ipad/i)){
82 else if ((agent.match(/android/i) && agent.match(/mobile/i)) ||(agent.match(/android/i) && agent.match(/mozilla/i)) || (agent.match(/android/i)&& agent.match(/opera/i))){
85 else if (agent.match(/webos/i) || agent.match(/windows phone/i) || agent.match(/mqqbrowser/i)){
88 else if (agent.match(/ucweb/i) || agent.match(/ucbrowser/i)){
91 else if ((agent.match(/windows nt/i)) || (agent.match(/macintosh/i))){
94 else if (!!agent.match(/applewebkit.*mobile.*/)){