kunitsuji
tsuji****@m-s*****
2008年 7月 11日 (金) 19:49:47 JST
kunitsujiです。
EMOBILEに新たなUAが追加されたようです。
以下パッチ
Index: user_agents.php
===================================================================
--- user_agents.php (revision 4307)
+++ user_agents.php (revision 4308)
@@ -102,6 +102,8 @@
'ddipocket' => 'WILLCOM',
// Kuniharu Tsujioka 2008-04-14 Add Japanese Mobile
Agent
'emobile' => 'EMOBILE',
+ // Kuniharu Tsujioka 2008-07-11 Add Japanese Mobile
Agent
+ 'huawei' => 'EMOBILE',
);
// There are hundreds of bots but these are the most common.
これだけでは、携帯電話端末しかEMOBILE判定ができません。
自分の作成しているmobileidライブラリを使うことで、EMOBILEすべて(スマー
トフォンもふくめて)モバイルとして判定させることができます。
※ID取得で判断してます。
まあ、EMOBILEって利用者ほとんどいないでしょうね。。
次はiPhoneですか。