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

Suggestion: Option to hide with the "contains" selector

Roi's Avatar


23 Sep, 2014 05:36 AM

It would be nice if on the next update it would be possible, when manually selecting an add to hide, to add another optional step of seeing the code in edit (already possible) and marking the parts that i think wouldn't change in the ids or other parts of the selector. This would remove the remeining part, and replace the "=" operator with an "~=" operator (an attribute that contains the string and not entirely equals to the string).

I am doing that manually, and it works.
For example, i created the rule: ##DIV[id="Fusion_holder_3705627256top_cube"][name="3705627256top_cube"], and edited it to:
##DIV[id~="top_cube"][name~="top_cube"] that way when the numbers change, it would still be blocked.


  1. 1 Posted by Kieran on 24 Sep, 2014 04:33 PM

    Kieran's Avatar

    OK. I've passed this on to our developers and they may look into it!

    If they have any questions they may respond to this e-mail.

    If you have any experience in making Chrome extensions in HTML, CSS, JavaScript and jQuery, please take a look at and send us a patch as an attachment! Our code is licensed under the GNU GPLv3.

  2. Kieran closed this discussion on 24 Sep, 2014 04:33 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