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
I'm looking to make enhancements to text & input masking (PR to follow, for your consideration). My team is getting ready for a rrweb deployment and we'd like to offer "privacy by default" to avoid collecting sensitive information. My understanding is that the current way to accomplish this is maskTextSelector: '*'
, however, we would also like to offer the ability to unmask portions of the page that the customer deems safe.
Proposed Solution
- add
maskAllText
option, mirroring the naming ofmaskAllInputs
- add
unmaskTextSelector
andunmaskTextClass
to selectively unmask certain areas. - inputs respect text masking options in addition to input masking options for finer control over which inputs are masked or unmasked.
Alternatives Considered
I'm not aware of any current solutions for unmasking content with rrweb.
Additional Information
No response