Skip to content

Proposal: Toggle sets of (custom) filters using dynamic rules #4016

@Atemu

Description

@Atemu

Prerequisites

  • I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality in the uAssets issue tracker.
  • This is NOT a YouTube, Facebook or Twitch report. These sites MUST be reported by clicking their respective links.
  • This is not a support issue or a question. For support, questions, or help, visit /r/uBlockOrigin.
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • The issue is not present after disabling uBO in the browser.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.

I tried to reproduce the issue when...

  • uBO is the only extension.
  • uBO uses default lists and settings.
  • using a new, unmodified browser profile.

Description

I have custom filters that aeld mouse/pointer events to block annoying/distracting interactions such as pop-ups by default and that's been working well. (Thank you for that! uBO is very versatile in this regard.)

Some websites require such events to perform their desired function however. For this purpose, I'd like to disable these aeld filters on only those specific websites via an allow-list. I have not found a way to do that short of editing the custom filter list, reloading and reverting it again (or disabling uBO outright).

The most sensible approach I could come up with from a user's perspective would be to allow assigning names to sets of filters which could then be referenced in place of the type in the dynamic rules system. This way I'd name my set of aeld filters e.g. pointer-events and it'd show up beneath 3p frames in the popup, allowing me to set per-site noops.
(The same principle could also be applied to whole static filter lists.)

I think such a generic system could cover many use-cases or even accessibility needs that people have.

(I have no experience to speak of in web or browser extensions and don't know this codebase, so this might be quite a bit more complex than I imagine. Feel free to dismiss in that case.)

A specific URL where the issue occurs.

n/a

Steps to Reproduce

n/a

Expected behavior

n/a

Troubleshooting information

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions