Skip to content

[Feature Request]: More Control Over Blocking Element #1644

Open
@kevinatown

Description

@kevinatown

Preflight Checklist

  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

What package is this feature request for?

rrweb

Problem Description

Hi there, great project here, however I would like more control over what elements on a page to block. Such as block all inputs by default, unless they exist in a whitelist of selectors.

Proposed Solution

I have proposed a solution to this in #1642, where I have provided a new recored option blockElementFN which is a callback that passes the block check on to the consumer. Thoughts?

Alternatives Considered

Having a whitelist string could be an option, but it will not be as configurable as just passing the check off to the consumer.

Additional Information

Thank you for your consideration and hard work on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions