Permalink
Browse files

Adding in other phone user agents, including some Japanese and French…

… manufacturers
  • Loading branch information...
1 parent e8f9f1a commit 2dffa5958905c0419288d03a0650127a0734b41a Brendan G. Lim committed Jul 26, 2008
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/mobile_fu.rb
View
4 lib/mobile_fu.rb
@@ -28,7 +28,9 @@ module MobileFu
MOBILE_USER_AGENTS = 'palm|palmos|palmsource|iphone|blackberry|nokia|phone|midp|mobi|pda|' +
'wap|java|nokia|hand|symbian|chtml|wml|ericsson|lg|audiovox|motorola|' +
'samsung|sanyo|sharp|telit|tsm|mobile|mini|windows ce|smartphone|' +
- '240x320|320x320|mobileexplorer|j2me|sgh|portable|sprint|vodafone'
+ '240x320|320x320|mobileexplorer|j2me|sgh|portable|sprint|vodafone|' +
+ 'docomo|kddi|softbank|pdxgw|j-phone|astel|minimo|plucker|netfront|' +
+ 'xiino|mot-v|mot-e|portalmmm|sagem|sie-s|sie-m'
def self.included(base)
base.extend(ClassMethods)

0 comments on commit 2dffa59

Please sign in to comment.