Block element via selector not working

Description of the issue:
“Brave -> Block element via selector” dialog window not opening on reddit.com (some other websites as well)

Steps to Reproduce (add as many as necessary): 1. 2. 3.

  1. Open reddit.com
  2. Right click an element and select: “Brave -> Block element via selector”
  3. Observe that no dialog window opens to block the element.

Actual Result (gifs and screenshots are welcome!):
Expected dialog window does not open.

Expected result:
Dialog window should open with input field for the selector string.

Reproduces how often:
95% - Every once and a while the dialog opens. The location that’s clicked on the webpage doesn’t seem to matter.

Operating System and Brave Version(See the About Brave page in the main menu):
Windows 10 - Brave Version 0.63.55 Chromium: 74.0.3729.131 (Official Build) (64-bit)

Additional Information:
I have not installed any extensions.

For those who want to block the promoted reddit posts, the css filter to enter is: .promotedlink

1 Like

For some reason it works more often when right-clicking the left column of the page.

Having the same problem. Sometimes even pasting the div’s ID in the selector box (on the rare occasion that I get the box to pop up) doesn’t always result with the object hiding.

1 Like

@Doorknob @SomethingBugReport,
Thank you for bringing this to our attention. We’re aware of the issue and there are a few issues for the team to review:


@Mattches

Since I couldn’t find the issue on GitHub, I’d like to confirm the issue we’re facing which is -

Clicking on the ‘Block element via selector’ in the context menu doesn’t seem to open the element selector dialog box on certain websites.

This issue is dependent on the website and the scripts it runs.
For example, reddit.com doesn’t let you open this dialog box, but github.com does. Also, if you enable “Scripts Blocked” from the Brave address bar menu, the issue is fixed.

OS and Brave Version -
Ubuntu 18.04.2
Version 0.64.76 Chromium: 74.0.3729.157 (Official Build) (64-bit)

@arpit9295,
Thank you for reaching out!
Work to fix and improve the CSS filter is already well underway:

2 Likes

This topic was automatically closed after 30 days. New replies are no longer allowed.