Can I block/hide text with Adblock Plus?

Everything about using Adblock Plus on Google Chrome
Post Reply
borisf98
Posts: 24
Joined: Sat Dec 24, 2022 6:11 am

Can I block/hide text with Adblock Plus?

Post by borisf98 »

Can I block text with this syntax?

<center>Advertisement</center>
or <div>Advertisement</div>

With all kinds of brackets and other text strings.
borisf98
Posts: 24
Joined: Sat Dec 24, 2022 6:11 am

Re: Can I block/hide text with Adblock Plus?

Post by borisf98 »

What I really wanted to ask if it is possible to block text with Adblock Plus with whatever brackets?
User avatar
greiner
ABP Developer
Posts: 899
Joined: Mon Sep 03, 2012 5:29 pm
Location: Cologne, Germany

Re: Can I block/hide text with Adblock Plus?

Post by greiner »

Adblock Plus hides elements using the same kinds of styles that websites use to apply colors and other style information to elements on the page. Therefore you can use any CSS selector to target elements on the page that you want to hide.

This also means that you cannot hide only certain text within an element or text that spans multiple elements, because CSS styles can only be applied to elements and not to text itself, or the HTML code from which the browser created those elements.
augustdiaries
Posts: 1
Joined: Wed Sep 27, 2023 9:19 am

Re: Can I block/hide text with Adblock Plus?

Post by augustdiaries »

I wanted to ask that is it possible to comment a link in Adblock Plus?
Post Reply