Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Ted Leung on the air: Open Source, Java, Python, and ...
Sat, 18 Jun 2005
Some ad blocking for NetNewsWire 2
[00:06] |
[computers/operating_systems/macosx/tips] |
# |
TB |
F |
G |
2 Comments |
Ian Holsman describes a CSS based trick for blocking some ads in NetNewsWire's browser. It definitely cut a bunch of ads in pages that I was looking at...
If you want to remove google text ads and annoying feedburner ads (the most common RSS ads I have seen) you can add the following to your preferred stylesheet and end up with a lot less useless bloat in the stylesheet:
/* Ad blocking CSS*/
/* boing boing and other feedburner ad sites */
img[src*="feeds.feedburner.com"] { display: none !important; }
/* old hack for feedburner
img[src*="~a"],
*/
/* slashdot */
img[src*="feedster"] { display: none !important; }
/* google rss ads */
a:link[href*="/imageads."] img,
a:link[href*="googleadservices"],
a:link[href*="ads_by_google"] {
display: none !important;
}
Posted by Jim McCoy at Sat Jun 18 11:27:46 2005
/* Ad blocking CSS*/
/* boing boing and other feedburner ad sites */
img[src*="feeds.feedburner.com"] { display: none !important; }
/* old hack for feedburner
img[src*="~a"],
*/
/* slashdot */
img[src*="feedster"] { display: none !important; }
/* google rss ads */
a:link[href*="/imageads."] img,
a:link[href*="googleadservices"],
a:link[href*="ads_by_google"] {
display: none !important;
}
Posted by Jim McCoy at Sat Jun 18 11:27:46 2005
You can subscribe to an RSS feed of the comments for this blog:
Add a comment here:
You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
<a href>
, <em>
, <i>
, <b>
, <blockquote>
, <br/>
, <p>
, <code>
, <pre>
, <cite>
, <sub>
and <sup>
.You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk