browsing: enforce layout for mobile devices

Niels Heyvaert nielsheyvaert at hotmail.com
Mon Sep 21 16:19:15 CEST 2009


>> You could also try pretending to be a generic Android phone instead of an iPhone using following agents:
>>
>> Mozilla/5.0 (Linux; U; Android 1.0; en-us; generic) AppleWebKit/525.10+ (KHTML, like Gecko) Version/3.0.4 Mobile Safari/523.12.2
>>
>> or
>>
>> Mozilla/5.0 (Linux; U; Android 1.5; en-us; generic) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1
>>
>> Maybe one of these two do the trick for you.
>
> I already do that and it works, get the mobile interface. My problem is
> another as I stated already:
> The Gmail (mobile!) layout always limits itself to about 2/3 of the
> window's width instead of using the whole screen. Is there anything I
> could do about it except filing a bug for midori? Or is midori innocent
> and google does some evil hacks there to look nice on that damn iPhone

I'm sorry if I didn't explain myself when sending the other user agents:

The reason for suggesting the other two UserAgent strings is because while playing around with Android I've used gmail, facebook, hotmail etc. on the device and never noticed any problem with the screen resolution. So instead of pretending to be an iPhone, as you said, perhaps it could help pretending to be an Android phone?

But since you tried this already, you can see the problem persists even when mimicking both Android user agents?

In that case I would tend to believe it is a shortcoming in the Midori browser. Or at least the Midori maintainers could shed some light on what is happening.
_________________________________________________________________
Voeg vrienden toe van LinkedIn & Facebook aan je Windows Live
http://profile.live.com/connect


More information about the community mailing list