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

Block data img background images?

Thoren 's Avatar


21 Oct, 2014 01:31 AM

Am trying to figure out how to block an empty div that has no class or id which uses a data img for background rather than calling an external image file. Example:

div style="background-image: url(data:image/png;base64,blahblahblah);"

Any solution for this?

  1. 1 Posted by Kieran on 22 Oct, 2014 05:22 PM

    Kieran's Avatar

    You can find out how to write your own filters on the Filter Syntax page that we link to at AdBlock button -> Options -> CUSTOMISE.

    You can also find it at this link.

    I would recommend looking at the "Attribute Selectors" section. Direct link

  2. Kieran closed this discussion on 22 Oct, 2014 05:22 PM.

Discussions are closed to public comments.
If you need help with AdBlock please start a new discussion.

Keyboard shortcuts


? 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