Help writing content hiding rule + exception

Everything about using Adblock Plus on Google Chrome
Post Reply
muggy
Posts: 1
Joined: Thu Jun 15, 2023 1:26 pm

Help writing content hiding rule + exception

Post by muggy »

I'm getting stuck trying to create a filter with an exception. I can't figure out how to formulate the rules to get the desired effect, if it's even possible.

The webpage lists a whole bunch of events and I want to see only certain ones, and hide the rest. I'm using a CSS selector because the rule is too broad otherwise.
Each events is a <div> with a class="event" (there are several other ways of defining the div, based on contents, if needed)
The ones I want to see have, two levels down, a span with class="unique"

Here is what I came up with:

Code: Select all

domain.com##.event
domain.com#@#.event:-abp-has(> div > span[class="unique"])
But these two rules end up blocking every event. The exception isn't working.

How can I correct this so that every instance of <div class="event"> is hidden except for the ones containing a <span class="unique">?
rootbeer
Posts: 10
Joined: Tue Sep 05, 2023 5:21 pm

Re: Help writing content hiding rule + exception

Post by rootbeer »

#@# exceptions work by disabling the respective ## rule (for instance, #@#.example would disable ##.example)

one approach could be disabling the rule of interest and hiding content you want hidden

if what you want to hide is an hide / an annoyance covered by EasyList / Fanboy lists: you could create a ticket on https://github.com/easylist/easylist/issues or https://forums.lanik.us/viewforum.php?f ... ed-content
richardbackman85
Posts: 1
Joined: Sat May 04, 2024 3:07 am

Online Exam Help

Post by richardbackman85 »

Want to improve your performance on an online the examination? There's nowhere else to look! Our specialized online examination support is made to accommodate your particular requirements. Success is attainable if you have access to a plethora of materials and a team of knowledgeable instructors. From study guides to taking exams techniques, we have you prepared at every turn. You may confidently ace your examinations and succeed with our support.

https://hiresomeonetotakemyexam.com/

https://hiresomeonetotakemyexam.com/onl ... s-help.php

https://hiresomeonetotakemyexam.com/onl ... e-help.php

https://hiresomeonetotakemyexam.com/onl ... t-help.php

https://hiresomeonetotakemyexam.com/blog/

https://hiresomeonetotakemyexam.com/blo ... cation.php

https://hiresomeonetotakemyexam.com/blo ... ollege.php

https://hiresomeonetotakemyexam.com/blo ... growth.php
Post Reply