Need Help Hiding Specific DIV's That Contain Certain Words
Posted: Fri Jan 31, 2020 7:33 pm
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:
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!
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"]
Any help would be greatly appreciated. Thanks in advance!