By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,738 Members | 1,114 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,738 IT Pros & Developers. It's quick & easy.

Ad-zapping user stylesheet update

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.