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

De-ad gmail

Delete right hand adverts in gmail, widen message area

This Greasemonkey script hides the right hand side ads on gmail and widens the email bit. You'll need to install Greasemonkey as a firefox extension, restart firefox, then follow the link to install gmail de-ad from userscripts. org.

Update: Del spotted a problem with the https gmail URL - it had two .coms. Its fixed now. Cheers Del.

Update: You can now set the body width and ui version in the userscripts command menu. Changing values reloads Gmail.

Update: More improvements. Google actually have a greasemonkey API. Which made things quite a lot easier. No more annoying clicking to hide ads.

Update: Google have updated their user interface (ui). I've made a new version of gmail de-ad. The new version adds a de-ad button to your gbar (googlespeak for the menu at the top left of the screen). When you open an email click the link to hide the ads and widen your message area.

Documentation

Its in the source. But here's a cut 'n' paste!

Intro

To install, you need Greasemonkey: http://greasemonkey.mozdev.org/ Then restart Firefox and revisit this script. Under Tools, there will be a new menu item to "Install User Script". Accept the default configuration and install.

To uninstall, go to Tools/Manage User Scripts, select "De-ad gmail", and click Uninstall.

There are some variables that you can tweak. Under usecript commands, you can set "gmail de-ad ui version" and "gmail de-ad body width".

User script commands

  • gmail de-ad ui version sets the ui version to 1 or 2(default). You can use the old ui(1) using the "older version" link at the top right of the screen. You'll know you're using it cos the url will end ?ui=1. Default: 2.
  • gnmail de-ad body width.Use this to set your preferred message area width. I have a nice big monitor. Default: '1100px'

Bugs

If you browse emails using the older and newer links, you'll find that gmail de-ad will forget the body width. That's an issue that I'll try and fix, but don't get your hopes up.




May 1, 2008
Andy Damevin Scriptwright

Glad I could help :)

 
Apr 26, 2008
ciderpunx Script's author

Hey Andy,

OK, well the new randomness element has hit the UK, too. So I've updated the script. You now get a link in your gbar that will de-ad your gmail. Alternatively set the old_style variable in the source to 1 and use the "older version" link at the top right of the screen to get the old functionality.

Thanks for taking the time to let me know the problem.

 
Apr 25, 2008
ciderpunx Script's author

Hey Andy,

I don't seem to be able to reproduce that here. Can you post a snippet of the source round the random value and I'll see if its fixable.

Cheers

 
Apr 18, 2008
Andy Damevin Scriptwright

Does'nt work because google added a ramdom value to the ad div.

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