467,104 Members | 995 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,104 developers. It's quick & easy.

Ad-zapping user stylesheet update

This one isn't generally applicable, it's for a specific website. But
it's a website I know most people here use from time to time
(groups.google.com), so here you go. Just add this to your user
stylesheet (watch for wrapping in the very long selectors):

/* Remove sponsored links on Google groups:- */

body[bgcolor="#ffffff"][onLoad="document.gs.reset()"][topmargin="2"][marginheight="2"]
td[bgcolor="#ffffff"][align="center"][valign="top"][rowspan="26"] {
display: none !important;
} /* The table cell that contains the advertising. */

body[bgcolor="#ffffff"][onLoad="document.gs.reset()"][topmargin="2"][marginheight="2"]
tr[bgcolor="#fff4c2"] td + td + td + td[width] {
display: none !important;
} /* The equivalent empty cell in the header row. */

body[bgcolor="#ffffff"][onLoad="document.gs.reset()"][topmargin="2"][marginheight="2"]
table[width],
body[bgcolor="#ffffff"][onLoad="document.gs.reset()"][topmargin="2"][marginheight="2"]
table[width] td
{
width: auto !important;
margin-left: auto !important;
margin-right: auto !important;
} /* Let the table find its natural size. */

body[bgcolor="#ffffff"][onLoad="document.gs.reset()"][topmargin="2"][marginheight="2"]
hr.z + table {
display: none !important;
} /* The links at page bottom. */

--
Karl Smith.
Jul 20 '05 #1
  • viewed: 1301
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by Bonegavel | last post: by
18 posts views Thread by Rob R. Ainscough | last post: by
4 posts views Thread by Leon | last post: by
1 post views Thread by MarkAurit | last post: by
1 post views Thread by Michael Herman \(Parallelspace\) | last post: by
reply views Thread by Derek Martin | last post: by
1 post views Thread by Pradeep | last post: by
reply views Thread by Any User | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.