Posted by Yura Filimonov on September 17, 2008 at 11:42am
Jump to:
| Project: | Accessibility |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | jabba_29 |
| Status: | closed (fixed) |
Issue Summary
Greetings.
I have setup the module and the mobi theme, but the Opera mobile browser shows a common browser theme.
Adding "oper" to the browser.inc file started blocking the normal browser, naturally.
Adding PPC and sv1 didn't do a thing.
What should I do?
User agents (on an ASUS Windows Mobile 5 phone):
As mobile:
Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; PPC; 240x320) Opera 8.65 [en]
As desktop:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Opera 8.65 [en]
Thanks.
Comments
#1
Hi,
I had to remove PPC as it was conflicting with Safari on Mac.
Current implementation I have installed on my sites has additional trapping for the Opera browser,
but I cannot guarantee to get everything.
It is only lightweight after all..
I don't have access to the core files at the moment, my PC is in a state of semi-disrepair at the moment,
however you can check to see if this line is included in accessibility.php file:
$extra = array ('MIDP', 'symbian', 'phone', 'palm', 'ipaq', 'Googlebot-Mobile');The MIDP should catch the Opera browser on a hand-held in most cases.
You could add CE somehow into the equation but you need to make sure it doesn't conflict with anything else.
As a desktop I don't think there is anyway this module would catch that unless SV1 is specific to that browser/phone, then it can be added to the list...
#2
Just to clarify, "As desktop" meant that the mobile phone had the settings to display the site as a desktop browser would. We are not talking about desktop browsing here.
Do I just enter "Windows CE" or I need some characteri in there? Or just "CE"?
Thanks.
#3
Provided that the $extra variable is there,
I would add 'Windows CE' as CE would probably conflict with other non-mobile browsers.
Let us know you get on.
I cannot test all devices, so I know this script falls short on many aspects.
Jamie
#4
Due to http://drupal.org/node/570956 this module has been marked abandoned and it's issue queue closed.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.