http://www.heise.de/newsticker/
They start to show ads only as text because everything else is blocked.
e.g.
http://www.heise.de/newsticker/meldung/68131
The whole add is surrounded by a <cadv> tag.
It would be great if I could tell adblock to block everything in special tags.
Tahattmeruh
Filter by Tagname
Type "about:config" into the location bar (where you type web addresses). Then type "adblock" into the filter field. Change the "adblock.elemtypes" preference to "//div|//cadv". Adblock will now list CADV elements as well as DIV to be blocked. However, Adblock relies on there being an ID or CLASS attribute on the tag otherwise there is no way to uniquely identify it and won't be listed. Example:
<cadv id="ad"></cadv>
RIP is certainly another track to try as the elements are uniquely identified by their location, but of course if the location of the ad is changed then it will no longer be blocked.
<cadv id="ad"></cadv>
RIP is certainly another track to try as the elements are uniquely identified by their location, but of course if the location of the ad is changed then it will no longer be blocked.
Ok here are instructions to list elements without an ID or CLASS name.
- Download latest xpi file.
- Rename file extension to ".zip" and extract.
- Rename file extension of "adblock.jar" under the chrome directory and extract.
- Open "chrome\adblock\content\component.js" in a text editor like notepad.
- Use the search to find and remove this line "if (elem.id=="" && elem.className=="") continue;"
- Repackage back into an xpi file and install.
If you follow my first post Adblock should list them, change the preference to "//div|//cadv|//bcadv" to include bcadv tags as well. If you want to list everything then change the preference mentioned to "//*" but of course that markedly slows down the browser.
Edit
Well I just looked at the source code for the page (http://www.heise.de/newsticker/meldung/68131) and I don't see any ads contained within the <cadv></cadv> tags. These are the ads I see on the page and how to remove them. All of which are blocking elements that have identifiers and don't require editing component.js.
Image ads
Blocked with /\Wads?\W/ filter.
DIV ad at the bottom
Enable "Check DIV Elements" and change the /Wads?\W/ filter to /\Wads?(bottom)?[\W_]/
DIV ad in the middle of the article
Add http://www.heise.de/newsticker/*#DIV(bmc_content) filter.
Online market ad bottom of left hand column
Change "adblock.elemtypes" preference to "//div|//table|//h4" and add http://www.heise.de/newsticker/*#*kasten_markt
filter.
Edit
Well I just looked at the source code for the page (http://www.heise.de/newsticker/meldung/68131) and I don't see any ads contained within the <cadv></cadv> tags. These are the ads I see on the page and how to remove them. All of which are blocking elements that have identifiers and don't require editing component.js.
Image ads
Blocked with /\Wads?\W/ filter.
DIV ad at the bottom
Enable "Check DIV Elements" and change the /Wads?\W/ filter to /\Wads?(bottom)?[\W_]/
DIV ad in the middle of the article
Add http://www.heise.de/newsticker/*#DIV(bmc_content) filter.
Online market ad bottom of left hand column
Change "adblock.elemtypes" preference to "//div|//table|//h4" and add http://www.heise.de/newsticker/*#*kasten_markt
filter.
To summarize here's the full list of steps to remove the ads on the http://www.heise.de/newsticker/meldung/68131 page.
- Type about:config into the location bar and hit enter.
- In the Filter: field type adblock.
- Double click on adblock.elemtypes.
- Enter the value //div|//table|//span
- Add the following filters to your filter set:
Code: Select all
/\Wads?(bottom)?[\W_]/ http://www.heise.de/newsticker/*#DIV(bmc_content) http://www.heise.de/newsticker/*#*kasten_markt