Open
Description
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.