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

Gmail Full Width

Makes conversations occupy full width by removing advertisement block on the right. The links above the ads are kept and placed conveniently next to the conversation title. The "map this" and "add to calendar" things are also kept.

There is a new version of this script that is for the new version of Gmail.

This script is for the old version of Gmail. It won't work with the new version.

The end result should be like this:

At the top of the script, truncate specifies whether you want to truncate the message title if it's longer than the available horizontal width, like this:

When you hover over the title, the whole thing will be shown.

Set truncate to false if you don't want to truncate it. Then if it's too long, it'll just continue on the next line:

Please leave a message if you find any bugs.




Mar 11, 2008
Patrick Robe... User

Works now :D

I don't want to change to the newer version, I like having eng-gb as opposed to US.
It's nice to see you're still supporting the old version though, thanks!

 
Mar 2, 2008
Raffles Script's author

Fixed now. I didn't notice that because I've been using the new version.

While I was at it I updated it with some better features:

- If the message title is too long for the available horizontal space, it is truncated. An ellipsis (...) is added at the end. When you hover over the title, the whole title is shown.

- I decided to do something with the "Map this" and "Add to calendar" stuff. It appears next to the message body. It's fairly unobtrusive there. It's 120 pixels wide. If you want to change this, do a search for "of.style.width".

Also did some general cleanup and tested it to make sure it works in FF3 (it does).

 
Feb 28, 2008
Patrick Robe... User

Hi again Raffles :D

I've just updated to the latest script, and I'm getting the old bug where the print this etc. links appear along the side rather than along the top. :(

 
Feb 13, 2008
Raffles Script's author

Update: added some code to make it stop execution sooner if using the newer version of Gmail.

 
Dec 17, 2007
cy User

I like this script~~ The only problem is if you use Gmail Super Clean skin, when click on the mail the reply button on top seems missing....

 
Dec 8, 2007
Raffles Script's author

I've posted a new script for the new version of Gmail:

http://userscripts.org/scripts/show/15998

Please comment over there should you have anything to say about it.

allenkeynyc, thanks for that, I now know where "map this" lives. If you have any suggestions for where it should go once the right hand side bar has been removed, they would be very welcome.

 
Dec 6, 2007
allenkeynyc User

http://pastebin.org/10617

that's everything in the firefox window when i hit view selection source.

http://pastebin.org/10616

and that's just what was selected when the firefox window opened up, which didnt select a bit in the beginning and end of what was in the entire window.

for both of these i selected the entire side bar from new window to about these links

 
Dec 5, 2007
Raffles Script's author

I've been really busy lately but tonight I tinkered with the Gmail API and it works pretty well, so I'll try and have an update up soon.

 
Dec 4, 2007
sjb User

Raffles,

Would greatly appreciate an update to the latest version of Gmail.

Your ad removal / maximization script is the best one out there for the older version of Gmail.

Regards,

/s

 
Nov 30, 2007
Raffles Script's author

Thanks for that, but I think I'll need a bit more to work out where in the DOM it appears in relation to the ads and the "Collapse all", "New Window", etc. buttons. So if you could also select those and paste the HTML for the whole right panel that would be helpful. Hopefully it's the same structure as the old version - they don't seem to have changed anything except the class names.

Cheers.

 
Nov 28, 2007
allenkeynyc User

http://pastebin.org/9798

that's in the gmail "newer version"

i just selected the text with map this and the address, and right clicked it, and selected show selection source.

do you need more code than that?
i noticed that in gmail older version, the map this options don't pop up unless the speicfic message with the address is expanded, not collapsed. but in newer version, the address can be in a collapsed message and it still shows up

 
Nov 22, 2007
Raffles Script's author

I know. Unfortunately I can't replicate this, probably because it knows I'm in the UK.

If you could supply the HTML relevant to the whole right hand panel when "map this" is present, I could try and fix it. Use "view selection source" in the context menu, post it to the pastebin and link to it here.

 
Nov 21, 2007
allenkeynyc User

this script blocks link such as, map this, or track this, when you have an address or package tracking number in an email

 
Nov 20, 2007
Raffles Script's author

Thanks for that codam, it works for me now too. I'm not a fan of US English, but I'll put up with it for now while I update the script. :) Might be a while though, I don't really have time right now. Will probably use the gmonkey API though, since it is such a great thing google have provided. Truly forward thinking.

 
Nov 20, 2007
codam User

You might not have the new UI if you've got English (UK) selected as your display language - I had to switch to English (US) before I had the new Gmail.

 
Nov 17, 2007
Raffles Script's author

I am using the latest version of Firefox, 2.0.0.9, on Windows XP. I still don't have the new UI. I've tried logging out and in again and clearing my cache and still nothing. I must be on one of the last of Google's servers to get the upgrade. :(

 
Nov 17, 2007
Jordan K User

Raffles, I think I may know why you are not seeing the new Gmail UI. The UI is currently only built for IE7 and Firefox 2. Once you download one of those browsers you should be able to use the new UI.

 
Nov 11, 2007
GunCN User

Works great 4 gmail ui 1

 
Nov 5, 2007
dejitarob User

Until this script is updated, I posted a quick and easy way to block ads in Gmail http://dejitarob.wordpress.com/2007/11/05/block...

 
Nov 3, 2007
Raffles Script's author

Well, it doesn't matter how old it is, I had never seen it before and just wanted to see what it looked like and try to get it to work for me. But I couldn't. :( Still no new Gmail for me either.

 
Nov 3, 2007
TonyS User

Raffels, that link you provided points to a blog from Dec 2005. Short article regarding the "map this " feature in gmail. Here's what it says:

==
Gmail adds “map this” feature
Posted in Tech, Random by Derek at 10:05 am |

I am way behind on my feeds so the following feature is altogether new and fresh to me.

I was sorting through my message and noticed that the right-side advertisements were ocassionally replaced with a “would you like to… map this” informational box.

Apparently Gmail scans your emails for any addresses - business and personal - and offers a quick option to map or receive driving directions. ==

 
Nov 2, 2007
Raffles Script's author

I looked it up and, yes, I guessed correctly, someone has blogged about it: http://uneasysilence.com/archive/2005/12/4763/
I emailed myself that address and a few others, but can't get the "Map this" stuff to appear, only ads. Maybe it's only for people in the US.

 
Nov 2, 2007
Dawudd User

Thanks for the update. Unfortunately, I don’t currently have any ideas on getting the ‘Would you like to...’ section to display properly.

 
Nov 1, 2007
Mike Cowles User

Excellent script. Very helpful way to upgrade on gmail.

Thanks!

Michael Cowles
Chicago Web Design, Inc.
=======================
Top Web Design, SEO and Internet Marketing
www.ChicagoWebDesign.net 1-800-WINDY-50

Click to visit Chicago Web Design

 
Nov 1, 2007
sleepyEDB User

Whoops...

Sorry for posting my question on the _same_ day you had discussed and resolved the issue! I guess I didn't read the date those comments had been posted...I thought they were from a few months ago. Sorry!

In the meantime, clicking the 'use older version' link in gmail restores my scripts to their full functional glory! :)

thanks,

sleepy

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