How to block certain element but still allow other scripts?

windows

#1

i. Windows 7 x64
ii. Brave 0.18.23

I want to allow all scripts on a website, but I want to block certain DIV element.

  1. So on the shield setting, I disabled “Block Scripts”
  2. Then I created custom adblock filter
    examplecom##DIV#welcome

But the website still displays the DIV element. I’m sure the filter syntax is correct, because I use it on Chrome using uBlock origin.

Can anyone help me?

Thanks


#2

It looks like uBlock origin uses the same syntax that we use : https://github.com/chrisaljoudi/ublock#about-ublock

If you have an example filter to test, that’s be quite helpful.

Thanks!


#3

The webpage:

The filter that I use (which works just fine using Chrome+uBlock):
suikoden.wikia.com##.mq-wrapper

Here’s the screenshot of the page, I’ve highlighted the part that I want to filter, it’s a scrolling text with red background.


#4

Probably related to this issue
https://github.com/brave/browser-laptop/issues/6243


#5

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.