In the right top corner of my Gmail interface, Gmail shows the address of the current user logged in to the system. How can I remove this text? Just blank it off or write something else.
Any tips?
Look at my screenshot to get the idea of what I mean: http://home.no/waterboydk/gmail_email.png |
?Why? would you like to remove it?
Technically not impossible; just write a short JavaScript program that scrapes off the screen and blanks its first segment. The address token is contained within this unique regexp sequence in the source code [sed demo syntax]
s/Options</h2><b>[A-Za-z0-9-*][.*]</b> /Options</h2><b>********2</b>/g
(If wrapped in a bookmarklet you'd have to invoke it manually, however. I don't know how one could automate it to execute after each Gmail page refresh, fetch etc.) |
ADMINISTRIVIA: Blogoscoped Forum's posting robot eats up backslashes "\" therefore the above regexp code came out incorrect. Close your eyes, lie back and think of England. |
Try this script (install Greasemonkey first):
http://userscripts.org/scripts/show/74304 |
Chitu: Thanks for the Greasemonkey tip. It was just a solution like that I was searching for. Google search didn't help me out.
ianf: Because I don't want my employer to see my private e-mail, when he looks over my shoulder sometimes. |
You could also try a user stylesheet, and add something like (untested):
#guser b { display: none; }
Different browsers allow different ways to edit the user stylesheet, for Firefox there are also Greasemonkey scripts to handle them. http://userstyles.org
I'm just mentioning above approach in case you often want to change minor layout details on a site... for the above request, Ionut's solution is perfect already. |
Thanks for that tip as well. I think I'll just stick with the Greasemonkey solution. Thanks again everybody. |