Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
kevinatown opened this issue Feb 4, 2025 · 0 comments
Open
1 task done

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

kevinatown opened this issue Feb 4, 2025 · 0 comments
Labels
feature request Things want to be added

Comments

@kevinatown
Copy link
Contributor

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.

@kevinatown kevinatown added the feature request Things want to be added label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Things want to be added
Projects
None yet
Development

No branches or pull requests

1 participant