------------------------------------------------------------------------
A poll associated with this post was created, to vote and see the
results, please visit http://forums.slimdevices.com/showthread.php?t=19369
------------------------------------------------------------------------
Question: Do you have a 770?
    
- Got it
- Want it
- Need it
- Forget it
------------------------------------------------------------------------

point your N800 browser to http://web-sniffer.net, then tell me what
you're seeing for the User agent.

Mine reports:
Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux armv6l; U) Opera 8.5
[en_GB] Tablet

SqueezeCenter's browser identification goes like this:

Code:
--------------------
      
  if ($request->header('user-agent') =~ /Firefox/) {                            
           
  $return = 'Firefox';
  } elsif ($request->header('user-agent') =~ /Opera/) {
  $return = 'Opera';
  } elsif ($request->header('user-agent') =~ /Safari/) {
  $return = 'Safari';
  } elsif ($request->header('user-agent') =~ /MSIE 7/) {
  $return = 'IE7';
  } elsif (
  $request->header('user-agent') =~ /MSIE/   && # does it think it's IE
  $request->header('user-agent') !~ /Opera/  && # make sure it's not Opera
  $request->header('user-agent') !~ /Linux/  && # make sure it's not Linux
  $request->header('user-agent') !~ /arm/)      # make sure it's not a Nokia 
tablet
  {
  $return = 'IE';
  }
  
--------------------


In my case, it should return Opera, and if for some reason that doesn't
hit, it definitely shouldn't return IE, which is the only thing that
causes the browser redirect.

Let me know what your user-agent reports.

cheers,
#!/ben


-- 
bklaas

"the Nokia770 skin guy"
http://www.last.fm/user/bklaas/
------------------------------------------------------------------------
bklaas's Profile: http://forums.slimdevices.com/member.php?userid=58
View this thread: http://forums.slimdevices.com/showthread.php?t=19369

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to