Need Help Hiding Specific DIV's That Contain Certain Words

Everything about using Adblock Plus on Google Chrome
Post Reply
neohtom
Posts: 3
Joined: Tue Feb 18, 2014 9:22 pm

Need Help Hiding Specific DIV's That Contain Certain Words

Post by neohtom »

I'm looking to hide DIVs on a certain forum I visit that contain specific words/phrases. The main issue is the site's own functionality to block specific posts or threads has never worked properly.

The site I'm referring to is datalounge.com

I've been using AdBlock Plus's "block an ad on this page" tool to manually block certain posts as well as some other annoyances on the site, such as:

Code: Select all

www.datalounge.com##DIV[class="advert-leader-inline advert DigitopiaInstance"]
www.datalounge.com##DIV[class="post flames-and-freaks"]
www.datalounge.com##DIV[class="row poll DigitopiaInstance"]
www.datalounge.com##DIV[id="post-14170277"][class="post"]
www.datalounge.com##DIV[id="post-14520241"][class="post"]
www.datalounge.com##DIV[id="post-15429919"][class="post"]
www.datalounge.com##DIV[id="post-15728746"][class="post"]
But I'm looking for a more proactive way to create custom filters that automatically hide DIV's based on what is in the content of the DIV, and have it be case insensitive. In other words, I already have a list of words and phrases in mind, I just need a template for the filter syntax to do so. I'm not very familiar with writing regex. My attempts at using Extended CSS Selectors have not been working either.

Any help would be greatly appreciated. Thanks in advance!
sbell
ABP Technical Support Specialist
Posts: 522
Joined: Wed Jul 05, 2017 8:08 pm

Re: Need Help Hiding Specific DIV's That Contain Certain Words

Post by sbell »

Hi @neohtom!

Thanks for reaching out to us! This question may best be answered in a filter writing discussion thread. Try the easy list forum here https://forums.lanik.us. ABP is not the owner of this site but these are the Authors of Easy List. I hope this helps!

Thanks
Shannon
ABP Support Team
Post Reply