This is AdBlock's old support site. It is available for archival purposes only. To create a new discussion, or to visit the up-to-date knowledge base, please visit help.getadblock.com
Blocking elemets with multiple classes
I want to block all DIV-element on a page where the class "ad"
appear as one of the classes for that div.
examples
- this should be blocked
- this should be blocked
- this should be blocked
- this should NOT be blocked (no class is
"ad")
Discussions are closed to public comments.
If you need help with AdBlock please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Håkan on Dec 25, 2013 @ 10:58 AM
examples (again)
div class="ad ad-1234" - this should be blocked
div class="ad ad-5678" - this should be blocked
div class="text ad" - this should be blocked
div class="textad" - this should NOT be blocked (no class is ad)
div class="inline ad textad" - this should be blocked
2 Posted by Tomáš on Dec 28, 2013 @ 05:57 PM
Hi Hakan,
try add filter ##.ad
Tomáš