Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Google has added a box displaying recently received photos in Gmail to their People Widget, which can present a huge privacy concern when checking your email in a public place:

Recent Photos

I know that I remove this by disabling the entire People Widget using:

Settings > General > People Widget > Hide the people widget

The rest of the widget is helpful, though. How can I keep it while removing just the recent photos?

share|improve this question
up vote 3 down vote accepted

You can remove the Recent Photos box with a single custom CSS rule.

First, install Stylish for Firefox or Chrome, then navigate to Gmail.

Locate your Stylish options and select "Write new style... for mail.google.com"

Add the following to your new Style:


For example, using Firefox, your style should look like the following:

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("mail.google.com") {

Now the Recent Photos section of the People Widget will not be displayed* while you are using that browser (and as long as Stylish and the style are enabled.)

* I believe that the Recent Photos section is the only div.am0, and will always be hidden by this style, but if anyone notices otherwise, please let me know.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.