Hi,

I'm not sure if this is the best way to report this, but Firefox on the Nokia N900 (Maemo) is not detected as a mobile browser.

In order to fix this, I added the following in my "browscap" SQL table:

$info = array(
  'browser' => 'Maemo',
  'version' => '3.5',
  'majorver' => '3',
  'minorver' => '5',
  'platform' => 'unknown',
  'frames' => '1',
  'iframes' => '1',
  'tables' => '1',
  'cookies' => '1',
  'javascript' => '1',
  'cssversion' => '3',
  'supportcss' => '1',
  'ismobiledevice' => '1',
  'parent' => 'DefaultProperties',
);

echo serialize($info);

Result:

a:14:{s:7:"browser";s:5:"Maemo";s:7:"version";s:3:"3.5";s:8:"majorver";s:1:"3";s:8:"minorver";s:1:"5";s:8:"platform";s:7:"unknown";s:6:"frames";s:1:"1";s:7:"iframes";s:1:"1";s:6:"tables";s:1:"1";s:7:"cookies";s:1:"1";s:10:"javascript";s:1:"1";s:10:"cssversion";s:1:"3";s:10:"supportcss";s:1:"1";s:14:"ismobiledevice";s:1:"1";s:6:"parent";s:17:"DefaultProperties";}

SQL query:

insert into browscap (useragent, data)
values ('Mozilla/5.0 (X11; U; Linux armv7l; %rv:1.9%) Gecko/% Firefox/3.5 Maemo Browser % N900', '-- the above serialized string --');

I wasn't sure whether to make it specific to Firefox 3.5, or just 3.%, or maybe to use a better "parent"?

Comments

groovehunter’s picture

subscribe

venusrising’s picture

This detect my N900 fine

devin carlson’s picture

Status: Active » Fixed

The Browscap module gets its information from the Browser Capabilities Project.

I believe that the best way to add additional browsers or fix issues with existing browsers is by sending a message outlining your issue(s) to the project maintainer(s) using the contact form available on their website.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.