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. |