|
|
Label: ♦english
♦notes
fu
created at Friday, 2009-04-03, 22:35:31
0 Replies, 2463 Hits
Remove text advertisement from gmail in firefox under linuxEveryone who have used gmail must have noticed the one-line google text advertisement in the top of the gmail web-based interface. I am not annoyed by the one line ads, but I do get a little bit annoyed when the ads text gets too long, which causes the web page to be too wide to be fitted in the browser without showing up a horizontal scrolling bar. When this happens, the chatting panel I put in the right side will become invisible without scrolling the bar, too bad! Luckily there is a simple way to disable google text ads for firefox under linux. Under fold: /home/yourhome/.mozilla/firefox/00ernvqw.default/chrome , create a file named userContent.css and include the following line in the file:
div[class="mv"] {display: none !important;}
then save the file and restart firefox, and you will see the content of the ads is gone, so that the gmail web page will stay fitted in the browser. Google guys may decide to change the relevant CSS class name from "mv" to something else from time to time, then you may need to change your userContent.css file as well. Once you find this trick is not working anymore, use mouse to select the text of the ads and view the source of the select parts, then find the DIV block that contains a link containing googlesyndication , and the CSS class name of this DIV block is the one should be used in the userContent.css file. It would be nice if the google guys change the DIV block in to an IFRAME block with proper width, then there will be no such bothering. Comments
|