Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Better Google for iPhone

Improves mobile view for iPhone for Google services

Google has special mobile view for its services when you opens them using iPhone (or at least using iPhone user-agent). It's pretty convenient for any mobile device with touch screen but there is a lot of places where services are optimized for iPhone screen resolution.

This script is intended to fix such issues to make services looking good at all devices. I use it for Nokia N800

To emulate iPhone you have to use iPhone's user-agent.
Make these actions for Firefox:
open url about:config
create new parameter general.useragent.override with value
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A538a Safari/419
That's all!

URLs of some services:
general view: http://www.google.com/m
GMail: http://mail.google.com/mail/x/
Google Reader: http://www.google.com/reader/m/view/?source=gp

Current version - 0.4.1

Changes for 0.4.1: Small bugfixes.
Note: Please update include address from http://www.google.com/m to http://www.google.com/m* .
Also you could change url for google reader to http://www.google.com/reader/m/view/?source=gp. This looks better.

Changes for 0.4: Design of GMail view was changed
Changes for 0.3:
- Google reader "Keep unread" link works in AJAX-mode
- Google reader "See original" link opens link in a new window
Changes for 0.2: Google reader now fits page width




May 24, 2008
Eugene Schava Script's author

to lm2:
I like new google reader iphone interface and use it even on laptop. The one thing I would fix in new interface using this script - bar at top with reader logo. But unfortunally cannot find a time for this...
About your problem.. I guess it's possible but need to spend some time to make it work.. Could you please contact me using e-mail, jabber or icq to discuss small things?

 
May 23, 2008
lm2 User

Hi Eugene,

Thanks so much for this script. I'm not sure if there is any need to update it to fit with Google Reader's new iphone interface. I know that I am still forced to scroll horizontally to see the number of new items when looking at my list of feeds.

*BUT*, my main interest is this: The bloglines non-iphone mobile interface, the bloglines iphone interface, and the non-iphone google reader mobile interface all have one feature I love: they will force outgoing links in feed items to open with either skweezer.com (bloglines) or else with "http://www.google.com/gwt/n?u=[LINKED PAGE'S URL]" in the case of non-iphone google reader mobile.

Since I'm using my n800 with a tether to a not-so-speedy data connection, I love this feature. But the new GR iphone interface doesn't seem to have it. SOOOOO, any chance you could write a version of your script that would force both outgoing links and "See original" to open through skweezer or the that other google proxy?

Pretty please? ;-)

 
Jan 16, 2008
Eugene Schava Script's author

2 Peter Elliot: Thank you Peter. You are right
I've updated script with your change and fix some small bugs. So please update include urls

 
Jan 16, 2008
Peter Elliot User

Hi Eugene,

Thanks for the update, I'd tried to mod 0.3 myself without much luck...

On thing I noticed. With the value of 70 for the toolbarHeight I have a white bar at the bottom of the screen. I reduced the value to 35 and no it displays full screen.

 
Jan 8, 2008
Eugene Schava Script's author

2 vinscuzzy:
Could you try blank value? And please read comment from Peter Elliot. He has a good idea about fast user-agent switching

 
Jan 8, 2008
Eugene Schava Script's author

2 Peter Elliot:
Thanks for feedback! To play with gmail textboxes you can try another my script "Textarea resize"
I don't use digg but if you want adjust it - I'll try when have free time
And your idea with bookmarklets is pretty good )

2 vinscuzzy:
Could you try blank value? And please read comment from

 
Jan 7, 2008
vinscuzzy User

hello, i tried this script and it works really cool! now i was wodering how i remove the general.useragent.override line i added in about:config in case i wanna go back to the original user agent. i know i could set its value to 0, but i wanna know how completely remove the line. thanks!

 
Jan 3, 2008
Peter Elliot User

I forgot to mention....

When you switch the N800 to 'iphone' mode the adress bar holds the link needed to switch to iphone mode - I saved this as a bookmark. I did the same with a blank UserAgent override string, and I can now toggle modes using the two bookmarks.

 
Jan 3, 2008
Peter Elliot User

Hi Eugene,

Thanks for the script. I was trying to do the same thing (having never written a script before) when I found yours. I'd just switched my N800 to iphone spoof and was playing with iphone sites.

Is there any chance of playing with the arrangement/box sizes on the gmail compose page?

I also like the digg iphone site, but the item text can be increased in size (+50%) while keeping the N800 at 100%. Any chance of having a go at that site ;)

Thanks Again,

PJE

You could comment on this script if you were logged in.