Google Maps on a small screen

I’ve been starting to appreciate the potential of Greasemonkey lately. It’s a Firefox extension that allows you to write scripts to modify a website to work the way you want. For example, it lets me fix my gripe about Delicious not allowing me to save my password even if they won’t.

Seeing it in action spurred me to start finding solutions to other inconveniences. One of these is Google Maps. On the 7-inch screen of my little Eee PC, so much of the page is given over to extraneous elements that the actual map occupies a pathetic quarter of the screen even when running Firefox in full-screen mode.

Google Maps on a small screen as it appears by default

What I really want is to see just the map. I don’t use the route guidance. I don’t need the search box—I usually just use the ?q= parameter in the URL anyway.

With Dive Into Greasemonkey for a reference, I wrote a few lines of script to hide the bits I didn’t want to see via CSS and to resize the map to fit the screen. It comes out like this:

Google Maps on a small screen with extraneous clutter removed

That’s a much better use of space, don’t you think?

You can get the script from userscripts.org.

Comments

Skip to the comment form

  1. Ben Griffiths

    Wrote at 2008-11-08 20:55 UTC using Safari 525.20.1 on Mac OS X:

    Much better.

    I find this bookmarklet useful for deleting stuff from webpages on the fly:

    http://www.quickonlinetips.com/archives/2008/07/edit-any-web-page/

Leave a comment

Please read the comment guidelines before posting. Comments are Gravatar-enabled. Your email address will not be published.

To prove that you’re human, type human in the Bot check field.

Trying to post some program output or a long code sample? Please use a paste service and link to it instead.